Package com.adyen.model.checkout
Class PaymentSessionResponse
- java.lang.Object
-
- com.adyen.model.checkout.PaymentSessionResponse
-
public class PaymentSessionResponse extends Object
PaymentSessionResponse
-
-
Constructor Summary
Constructors Constructor Description PaymentSessionResponse()
-
Method Summary
-
-
-
Method Detail
-
company
public PaymentSessionResponse company(Company company)
-
getCompany
public Company getCompany()
Get company- Returns:
- company
-
setCompany
public void setCompany(Company company)
-
disableRecurringDetailUrl
public PaymentSessionResponse disableRecurringDetailUrl(String disableRecurringDetailUrl)
-
getDisableRecurringDetailUrl
public String getDisableRecurringDetailUrl()
The URL to disable recurring details.- Returns:
- disableRecurringDetailUrl
-
setDisableRecurringDetailUrl
public void setDisableRecurringDetailUrl(String disableRecurringDetailUrl)
-
generationtime
public PaymentSessionResponse generationtime(String generationtime)
-
getGenerationtime
public String getGenerationtime()
The generationtime of this request, required for encryption.- Returns:
- generationtime
-
setGenerationtime
public void setGenerationtime(String generationtime)
-
html
public PaymentSessionResponse html(String html)
-
getHtml
public String getHtml()
The stream with html logic, if the html flag was set in the request.- Returns:
- html
-
setHtml
public void setHtml(String html)
-
initiationUrl
public PaymentSessionResponse initiationUrl(String initiationUrl)
-
getInitiationUrl
public String getInitiationUrl()
The URL for the initiation call.- Returns:
- initiationUrl
-
setInitiationUrl
public void setInitiationUrl(String initiationUrl)
-
lineItems
public PaymentSessionResponse lineItems(List<LineItem> lineItems)
-
addLineItemsItem
public PaymentSessionResponse addLineItemsItem(LineItem lineItemsItem)
-
getLineItems
public List<LineItem> getLineItems()
Line items that are required for some payment methods.- Returns:
- lineItems
-
logoBaseUrl
public PaymentSessionResponse logoBaseUrl(String logoBaseUrl)
-
getLogoBaseUrl
public String getLogoBaseUrl()
The base URL for payment method logos.- Returns:
- logoBaseUrl
-
setLogoBaseUrl
public void setLogoBaseUrl(String logoBaseUrl)
-
oneClickPaymentMethods
public PaymentSessionResponse oneClickPaymentMethods(List<RecurringDetail> oneClickPaymentMethods)
-
addOneClickPaymentMethodsItem
public PaymentSessionResponse addOneClickPaymentMethodsItem(RecurringDetail oneClickPaymentMethodsItem)
-
getOneClickPaymentMethods
public List<RecurringDetail> getOneClickPaymentMethods()
The detailed list of stored payment details required to generate payment forms. Will be empty if `enableOneClick` is set to false in the request.- Returns:
- oneClickPaymentMethods
-
setOneClickPaymentMethods
public void setOneClickPaymentMethods(List<RecurringDetail> oneClickPaymentMethods)
-
origin
public PaymentSessionResponse origin(String origin)
-
getOrigin
public String getOrigin()
The user origin.- Returns:
- origin
-
setOrigin
public void setOrigin(String origin)
-
originKey
public PaymentSessionResponse originKey(String originKey)
-
getOriginKey
public String getOriginKey()
The encrypted user origin.- Returns:
- originKey
-
setOriginKey
public void setOriginKey(String originKey)
-
payment
public PaymentSessionResponse payment(PaymentDetails payment)
-
getPayment
public PaymentDetails getPayment()
Get payment- Returns:
- payment
-
setPayment
public void setPayment(PaymentDetails payment)
-
paymentData
public PaymentSessionResponse paymentData(String paymentData)
-
getPaymentData
public String getPaymentData()
The data blob required to be sent in every future session call.- Returns:
- paymentData
-
setPaymentData
public void setPaymentData(String paymentData)
-
paymentMethods
public PaymentSessionResponse paymentMethods(List<PaymentMethod> paymentMethods)
-
addPaymentMethodsItem
public PaymentSessionResponse addPaymentMethodsItem(PaymentMethod paymentMethodsItem)
-
getPaymentMethods
public List<PaymentMethod> getPaymentMethods()
The detailed list of payment methods required to generate payment forms.- Returns:
- paymentMethods
-
setPaymentMethods
public void setPaymentMethods(List<PaymentMethod> paymentMethods)
-
paymentSession
public PaymentSessionResponse paymentSession(String paymentSession)
-
getPaymentSession
public String getPaymentSession()
Base64-encoded version of this response.- Returns:
- paymentSession
-
setPaymentSession
public void setPaymentSession(String paymentSession)
-
publicKey
public PaymentSessionResponse publicKey(String publicKey)
-
getPublicKey
public String getPublicKey()
The public key required to encrypt sensitive data.- Returns:
- publicKey
-
setPublicKey
public void setPublicKey(String publicKey)
-
publicKeyToken
public PaymentSessionResponse publicKeyToken(String publicKeyToken)
-
getPublicKeyToken
public String getPublicKeyToken()
The public key token.- Returns:
- publicKeyToken
-
setPublicKeyToken
public void setPublicKeyToken(String publicKeyToken)
-
sdkVersion
public PaymentSessionResponse sdkVersion(String sdkVersion)
-
getSdkVersion
public String getSdkVersion()
SDK version for the Web SDK. The value will be used for validation on Web SDK.- Returns:
- sdkVersion
-
setSdkVersion
public void setSdkVersion(String sdkVersion)
-
-