Class SessionRequest
java.lang.Object
com.broadleafcommerce.adyen.web.endpoint.domain.SessionRequest
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalAttribute
(String name, Object value) protected boolean
boolean
javax.money.MonetaryAmount
If you want a BIN or card verification request to use a non-zero value, assign this value to additionalAmount (while the amount must be still set to 0 to trigger BIN or card verification).javax.money.MonetaryAmount
The amount of the payment.The customer ID.The date the session expires in ISO8601 format.The mandate details to initiate recurring transaction.Specifies recurring procession model for session creation, expected to be CardOnFile, should come in pair withstorePaymentMethodMode
other possible values: Subscription, UnscheduledCardOnFileThe reference to uniquely identify a payment.The URL to return to when a redirect payment is completed.Intended to be used for saved method payment logic, should come in pair withrecurringProcessingModel
Possible values: disabled Your shopper's card details are not stored.int
hashCode()
void
setAdditionalAmount
(javax.money.MonetaryAmount additionalAmount) If you want a BIN or card verification request to use a non-zero value, assign this value to additionalAmount (while the amount must be still set to 0 to trigger BIN or card verification).void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Contains the additional information for the request.void
setAmount
(javax.money.MonetaryAmount amount) The amount of the payment.void
setCustomerId
(String customerId) The customer ID.void
setExpiresAt
(String expiresAt) The date the session expires in ISO8601 format.void
setMetadata
(Map<String, String> metadata) The mandate details to initiate recurring transaction.void
setRecurringProcessingModel
(String recurringProcessingModel) Specifies recurring procession model for session creation, expected to be CardOnFile, should come in pair withstorePaymentMethodMode
other possible values: Subscription, UnscheduledCardOnFilevoid
setReference
(String reference) The reference to uniquely identify a payment.void
setReturnUrl
(String returnUrl) The URL to return to when a redirect payment is completed.void
setStorePaymentMethodMode
(String storePaymentMethodMode) Intended to be used for saved method payment logic, should come in pair withrecurringProcessingModel
Possible values: disabled Your shopper's card details are not stored.toString()
-
Constructor Details
-
SessionRequest
public SessionRequest()
-
-
Method Details
-
addAdditionalAttribute
-
getAdditionalAttributes
-
getAmount
public javax.money.MonetaryAmount getAmount()The amount of the payment. -
getAdditionalAmount
@Nullable public javax.money.MonetaryAmount getAdditionalAmount()If you want a BIN or card verification request to use a non-zero value, assign this value to additionalAmount (while the amount must be still set to 0 to trigger BIN or card verification). Required to be in the same currency as the amount. -
getReference
The reference to uniquely identify a payment. For example, the payment owner ID (Cart ID etc). -
getReturnUrl
The URL to return to when a redirect payment is completed. -
getRecurringProcessingModel
Specifies recurring procession model for session creation, expected to be CardOnFile, should come in pair withstorePaymentMethodMode
other possible values: Subscription, UnscheduledCardOnFile- See Also:
-
getStorePaymentMethodMode
Intended to be used for saved method payment logic, should come in pair withrecurringProcessingModel
Possible values: disabled Your shopper's card details are not stored. askForConsent Drop-in enables your shopper to select whether they want their payment details to be stored. enabled Your shopper's card details are stored. -
getMetadata
The mandate details to initiate recurring transaction. -
getExpiresAt
The date the session expires in ISO8601 format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. -
getCustomerId
The customer ID. -
setAmount
public void setAmount(javax.money.MonetaryAmount amount) The amount of the payment. -
setAdditionalAmount
public void setAdditionalAmount(@Nullable javax.money.MonetaryAmount additionalAmount) If you want a BIN or card verification request to use a non-zero value, assign this value to additionalAmount (while the amount must be still set to 0 to trigger BIN or card verification). Required to be in the same currency as the amount. -
setReference
The reference to uniquely identify a payment. For example, the payment owner ID (Cart ID etc). -
setReturnUrl
The URL to return to when a redirect payment is completed. -
setRecurringProcessingModel
Specifies recurring procession model for session creation, expected to be CardOnFile, should come in pair withstorePaymentMethodMode
other possible values: Subscription, UnscheduledCardOnFile- See Also:
-
setStorePaymentMethodMode
Intended to be used for saved method payment logic, should come in pair withrecurringProcessingModel
Possible values: disabled Your shopper's card details are not stored. askForConsent Drop-in enables your shopper to select whether they want their payment details to be stored. enabled Your shopper's card details are stored. -
setMetadata
The mandate details to initiate recurring transaction. -
setExpiresAt
The date the session expires in ISO8601 format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. -
setCustomerId
The customer ID. -
setAdditionalAttributes
Contains the additional information for the request. It is used as a "fallback" handler for all unrecognized properties from JSON content. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-