public class CreatePaymentLinkRequest extends Object
| Constructor and Description |
|---|
CreatePaymentLinkRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreatePaymentLinkRequest |
addAllowedPaymentMethodsItem(String allowedPaymentMethodsItem) |
CreatePaymentLinkRequest |
addBlockedPaymentMethodsItem(String blockedPaymentMethodsItem) |
CreatePaymentLinkRequest |
allowedPaymentMethods(List<String> allowedPaymentMethods) |
CreatePaymentLinkRequest |
amount(Amount amount) |
CreatePaymentLinkRequest |
billingAddress(Address billingAddress) |
CreatePaymentLinkRequest |
blockedPaymentMethods(List<String> blockedPaymentMethods) |
CreatePaymentLinkRequest |
countryCode(String countryCode) |
CreatePaymentLinkRequest |
deliveryAddress(Address deliveryAddress) |
CreatePaymentLinkRequest |
description(String description) |
boolean |
equals(Object o) |
CreatePaymentLinkRequest |
expiresAt(String expiresAt) |
List<String> |
getAllowedPaymentMethods()
List of payments methods to be presented to the shopper.
|
Amount |
getAmount()
Get amount
|
Address |
getBillingAddress()
Get billingAddress
|
List<String> |
getBlockedPaymentMethods()
List of payments methods to be hidden from the shopper.
|
String |
getCountryCode()
The shopper's country code.
|
Address |
getDeliveryAddress()
Get deliveryAddress
|
String |
getDescription()
A short description visible on the Pay By Link page.
|
String |
getExpiresAt()
The date that the Pay By Link expires; e.g.
|
String |
getMerchantAccount()
The merchant account identifier, with which you want to process the transaction.
|
String |
getReference()
The reference to uniquely identify a payment.
|
String |
getReturnUrl()
Merchant URL used for redirection after payment is completed
|
String |
getShopperEmail()
The shopper's email address.
|
String |
getShopperLocale()
The combination of a language code and a country code to specify the language to be used in the payment.
|
String |
getShopperReference()
The shopper's reference to uniquely identify this shopper (e.g.
|
int |
hashCode() |
Boolean |
isStorePaymentMethod()
When true and `shopperReference` is provided, the payment details will be stored.
|
CreatePaymentLinkRequest |
merchantAccount(String merchantAccount) |
CreatePaymentLinkRequest |
reference(String reference) |
CreatePaymentLinkRequest |
returnUrl(String returnUrl) |
void |
setAllowedPaymentMethods(List<String> allowedPaymentMethods) |
void |
setAmount(Amount amount) |
void |
setBillingAddress(Address billingAddress) |
void |
setBlockedPaymentMethods(List<String> blockedPaymentMethods) |
void |
setCountryCode(String countryCode) |
void |
setDeliveryAddress(Address deliveryAddress) |
void |
setDescription(String description) |
void |
setExpiresAt(String expiresAt) |
void |
setMerchantAccount(String merchantAccount) |
void |
setReference(String reference) |
void |
setReturnUrl(String returnUrl) |
void |
setShopperEmail(String shopperEmail) |
void |
setShopperLocale(String shopperLocale) |
void |
setShopperReference(String shopperReference) |
void |
setStorePaymentMethod(Boolean storePaymentMethod) |
CreatePaymentLinkRequest |
shopperEmail(String shopperEmail) |
CreatePaymentLinkRequest |
shopperLocale(String shopperLocale) |
CreatePaymentLinkRequest |
shopperReference(String shopperReference) |
CreatePaymentLinkRequest |
storePaymentMethod(Boolean storePaymentMethod) |
String |
toString() |
public CreatePaymentLinkRequest allowedPaymentMethods(List<String> allowedPaymentMethods)
public CreatePaymentLinkRequest addAllowedPaymentMethodsItem(String allowedPaymentMethodsItem)
public List<String> getAllowedPaymentMethods()
public CreatePaymentLinkRequest amount(Amount amount)
public Amount getAmount()
public void setAmount(Amount amount)
public CreatePaymentLinkRequest billingAddress(Address billingAddress)
public Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
public CreatePaymentLinkRequest blockedPaymentMethods(List<String> blockedPaymentMethods)
public CreatePaymentLinkRequest addBlockedPaymentMethodsItem(String blockedPaymentMethodsItem)
public List<String> getBlockedPaymentMethods()
public CreatePaymentLinkRequest countryCode(String countryCode)
public String getCountryCode()
public void setCountryCode(String countryCode)
public CreatePaymentLinkRequest deliveryAddress(Address deliveryAddress)
public Address getDeliveryAddress()
public void setDeliveryAddress(Address deliveryAddress)
public CreatePaymentLinkRequest description(String description)
public String getDescription()
public void setDescription(String description)
public CreatePaymentLinkRequest expiresAt(String expiresAt)
public String getExpiresAt()
public void setExpiresAt(String expiresAt)
public CreatePaymentLinkRequest merchantAccount(String merchantAccount)
public String getMerchantAccount()
public void setMerchantAccount(String merchantAccount)
public CreatePaymentLinkRequest reference(String reference)
public String getReference()
public void setReference(String reference)
public CreatePaymentLinkRequest returnUrl(String returnUrl)
public String getReturnUrl()
public void setReturnUrl(String returnUrl)
public CreatePaymentLinkRequest shopperEmail(String shopperEmail)
public String getShopperEmail()
public void setShopperEmail(String shopperEmail)
public CreatePaymentLinkRequest shopperLocale(String shopperLocale)
public String getShopperLocale()
public void setShopperLocale(String shopperLocale)
public CreatePaymentLinkRequest shopperReference(String shopperReference)
public String getShopperReference()
public void setShopperReference(String shopperReference)
public CreatePaymentLinkRequest storePaymentMethod(Boolean storePaymentMethod)
public Boolean isStorePaymentMethod()
public void setStorePaymentMethod(Boolean storePaymentMethod)
Copyright © 2020. All rights reserved.