| Package | Description |
|---|---|
| com.paypal.api.payments |
| Modifier and Type | Method and Description |
|---|---|
Agreement |
Agreement.create(APIContext apiContext)
Create a new billing agreement by passing the details for the agreement, including the name, description, start date, payer, and billing plan in the request JSON.
|
Agreement |
Agreement.create(String accessToken)
Create a new billing agreement by passing the details for the agreement, including the name, description, start date, payer, and billing plan in the request JSON.
|
static Agreement |
Agreement.execute(APIContext apiContext,
String token)
Execute a billing agreement after buyer approval by passing the payment token to the request URI.
|
Agreement |
Agreement.execute(String accessToken)
Execute a billing agreement after buyer approval by passing the payment token to the request URI.
|
static Agreement |
Agreement.get(APIContext apiContext,
String agreementId)
Retrieve details for a particular billing agreement by passing the ID of the agreement to the request URI.
|
static Agreement |
Agreement.get(String accessToken,
String agreementId)
Retrieve details for a particular billing agreement by passing the ID of the agreement to the request URI.
|
Agreement |
Agreement.setAgreementDetails(AgreementDetails agreementDetails)
Setter for agreementDetails
|
Agreement |
Agreement.setCreateTime(String createTime)
Setter for createTime
|
Agreement |
Agreement.setDescription(String description)
Setter for description
|
Agreement |
Agreement.setId(String id)
Setter for id
|
Agreement |
Agreement.setLinks(List<Links> links)
Setter for links
|
Agreement |
Agreement.setName(String name)
Setter for name
|
Agreement |
Agreement.setOverrideChargeModels(List<OverrideChargeModel> overrideChargeModels)
Setter for overrideChargeModels
|
Agreement |
Agreement.setOverrideMerchantPreferences(MerchantPreferences overrideMerchantPreferences)
Setter for overrideMerchantPreferences
|
Agreement |
Agreement.setPayer(Payer payer)
Setter for payer
|
Agreement |
Agreement.setPlan(Plan plan)
Setter for plan
|
Agreement |
Agreement.setShippingAddress(Address shippingAddress)
Setter for shippingAddress
|
Agreement |
Agreement.setStartDate(String startDate)
Setter for startDate
|
Agreement |
Agreement.setState(String state)
Setter for state
|
Agreement |
Agreement.setToken(String token)
Setter for token
|
Agreement |
Agreement.setUpdateTime(String updateTime)
Setter for updateTime
|
Agreement |
Agreement.update(APIContext apiContext,
List<Patch> patchRequest)
Update details of a billing agreement, such as the description, shipping address, and start date, by passing the ID of the agreement to the request URI.
|
Agreement |
Agreement.update(String accessToken,
List<Patch> patchRequest)
Update details of a billing agreement, such as the description, shipping address, and start date, by passing the ID of the agreement to the request URI.
|
Copyright © 2015. All Rights Reserved.