Package com.onlinepayments.domain
Class PaymentProduct
java.lang.Object
com.onlinepayments.domain.PaymentProduct
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList of tokens for that payment productTrue when 3DS authentication is supported or required for the productIndicates if the product supports recurring payments true - This payment product supports recurring payments false - This payment product does not support recurring transactions and can only be used for one-off paymentsIndicates if the payment details can be tokenized for future re-use true - Payment details from payments done with this payment product can be tokenized for future re-use false - Payment details from payments done with this payment product can not be tokenizedObject containing display hints like the order of the product when shown in a list, the name of the product and the logoObject containing all the fields and their details that are associated with this payment product.getId()The ID of the payment product in our systemPayment method identifier used by the our payment engine.The payment product group that has this payment product, if there is any.Indicates whether the payment product requires redirection to a third party to complete the payment.voidsetAccountsOnFile(List<AccountOnFile> value) List of tokens for that payment productvoidsetAllowsAuthentication(Boolean value) True when 3DS authentication is supported or required for the productvoidsetAllowsRecurring(Boolean value) Indicates if the product supports recurring payments true - This payment product supports recurring payments false - This payment product does not support recurring transactions and can only be used for one-off paymentsvoidsetAllowsTokenization(Boolean value) Indicates if the payment details can be tokenized for future re-use true - Payment details from payments done with this payment product can be tokenized for future re-use false - Payment details from payments done with this payment product can not be tokenizedvoidObject containing display hints like the order of the product when shown in a list, the name of the product and the logovoidvoidsetFields(List<PaymentProductField> value) Object containing all the fields and their details that are associated with this payment product.voidThe ID of the payment product in our systemvoidsetPaymentMethod(String value) Payment method identifier used by the our payment engine.voidvoidvoidsetPaymentProductGroup(String value) The payment product group that has this payment product, if there is any.voidIndicates whether the payment product requires redirection to a third party to complete the payment.withAccountsOnFile(List<AccountOnFile> value) List of tokens for that payment productwithAllowsAuthentication(Boolean value) True when 3DS authentication is supported or required for the productwithAllowsRecurring(Boolean value) Indicates if the product supports recurring payments true - This payment product supports recurring payments false - This payment product does not support recurring transactions and can only be used for one-off paymentswithAllowsTokenization(Boolean value) Indicates if the payment details can be tokenized for future re-use true - Payment details from payments done with this payment product can be tokenized for future re-use false - Payment details from payments done with this payment product can not be tokenizedObject containing display hints like the order of the product when shown in a list, the name of the product and the logowithFields(List<PaymentProductField> value) Object containing all the fields and their details that are associated with this payment product.The ID of the payment product in our systemwithPaymentMethod(String value) Payment method identifier used by the our payment engine.withPaymentProductGroup(String value) The payment product group that has this payment product, if there is any.Indicates whether the payment product requires redirection to a third party to complete the payment.
-
Constructor Details
-
PaymentProduct
public PaymentProduct()
-
-
Method Details
-
getAccountsOnFile
List of tokens for that payment product -
setAccountsOnFile
List of tokens for that payment product -
withAccountsOnFile
List of tokens for that payment product -
getAllowsAuthentication
True when 3DS authentication is supported or required for the product -
setAllowsAuthentication
True when 3DS authentication is supported or required for the product -
withAllowsAuthentication
True when 3DS authentication is supported or required for the product -
getAllowsRecurring
Indicates if the product supports recurring payments- true - This payment product supports recurring payments
- false - This payment product does not support recurring transactions and can only be used for one-off payments
-
setAllowsRecurring
Indicates if the product supports recurring payments- true - This payment product supports recurring payments
- false - This payment product does not support recurring transactions and can only be used for one-off payments
-
withAllowsRecurring
Indicates if the product supports recurring payments- true - This payment product supports recurring payments
- false - This payment product does not support recurring transactions and can only be used for one-off payments
-
getAllowsTokenization
Indicates if the payment details can be tokenized for future re-use- true - Payment details from payments done with this payment product can be tokenized for future re-use
- false - Payment details from payments done with this payment product can not be tokenized
-
setAllowsTokenization
Indicates if the payment details can be tokenized for future re-use- true - Payment details from payments done with this payment product can be tokenized for future re-use
- false - Payment details from payments done with this payment product can not be tokenized
-
withAllowsTokenization
Indicates if the payment details can be tokenized for future re-use- true - Payment details from payments done with this payment product can be tokenized for future re-use
- false - Payment details from payments done with this payment product can not be tokenized
-
getDisplayHints
Object containing display hints like the order of the product when shown in a list, the name of the product and the logo -
setDisplayHints
Object containing display hints like the order of the product when shown in a list, the name of the product and the logo -
withDisplayHints
Object containing display hints like the order of the product when shown in a list, the name of the product and the logo -
getDisplayHintsList
-
setDisplayHintsList
-
withDisplayHintsList
-
getFields
Object containing all the fields and their details that are associated with this payment product. If you are not interested in the data on the fields you should have us filter them our (using filter=fields in the query-string) -
setFields
Object containing all the fields and their details that are associated with this payment product. If you are not interested in the data on the fields you should have us filter them our (using filter=fields in the query-string) -
withFields
Object containing all the fields and their details that are associated with this payment product. If you are not interested in the data on the fields you should have us filter them our (using filter=fields in the query-string) -
getId
The ID of the payment product in our system -
setId
The ID of the payment product in our system -
withId
The ID of the payment product in our system -
getPaymentMethod
Payment method identifier used by the our payment engine. -
setPaymentMethod
Payment method identifier used by the our payment engine. -
withPaymentMethod
Payment method identifier used by the our payment engine. -
getPaymentProduct302SpecificData
-
setPaymentProduct302SpecificData
-
withPaymentProduct302SpecificData
-
getPaymentProduct320SpecificData
-
setPaymentProduct320SpecificData
-
withPaymentProduct320SpecificData
-
getPaymentProductGroup
The payment product group that has this payment product, if there is any. Not populated otherwise. Currently only one payment product group is supported:- cards
-
setPaymentProductGroup
The payment product group that has this payment product, if there is any. Not populated otherwise. Currently only one payment product group is supported:- cards
-
withPaymentProductGroup
The payment product group that has this payment product, if there is any. Not populated otherwise. Currently only one payment product group is supported:- cards
-
getUsesRedirectionTo3rdParty
Indicates whether the payment product requires redirection to a third party to complete the payment. You can use this to filter out products that require a redirect if you do not want to support that.- true - Redirection is required
- false - No redirection is required
-
setUsesRedirectionTo3rdParty
Indicates whether the payment product requires redirection to a third party to complete the payment. You can use this to filter out products that require a redirect if you do not want to support that.- true - Redirection is required
- false - No redirection is required
-
withUsesRedirectionTo3rdParty
Indicates whether the payment product requires redirection to a third party to complete the payment. You can use this to filter out products that require a redirect if you do not want to support that.- true - Redirection is required
- false - No redirection is required
-