Class CardStoredCredential
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.payments.CardStoredCredential
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe person or party who initiated or triggered the payment.Indicates the type of the stored payment_source payment.Reference values used by the card network to identify a transaction.getUsage()
Indicates if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file).void
setPaymentInitiator
(String paymentInitiator) The person or party who initiated or triggered the payment.void
setPaymentType
(String paymentType) Indicates the type of the stored payment_source payment.void
setPreviousNetworkTransactionReference
(NetworkTransactionReference previousNetworkTransactionReference) Reference values used by the card network to identify a transaction.void
Indicates if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file).
-
Constructor Details
-
CardStoredCredential
public CardStoredCredential()
-
-
Method Details
-
setPaymentInitiator
The person or party who initiated or triggered the payment. The possible values are:- "CUSTOMER". Payment is initiated with the active engagement of the customer. e.g. a customer checking out on a merchant website.
- "MERCHANT". Payment is initiated by merchant on behalf of the customer without the active engagement of customer. e.g. a merchant charging the monthly payment of a subscription to the customer.
-
setPaymentType
Indicates the type of the stored payment_source payment. The possible values are:- "ONE_TIME". One Time payment such as online purchase or donation. (e.g. Checkout with one-click).
- "RECURRING". Payment which is part of a series of payments with fixed or variable amounts, following a fixed time interval. (e.g. Subscription payments).
- "UNSCHEDULED". Payment which is part of a series of payments that occur on a non-fixed schedule and/or have variable amounts. (e.g. Account Topup payments).
-
setPreviousNetworkTransactionReference
public void setPreviousNetworkTransactionReference(NetworkTransactionReference previousNetworkTransactionReference) Reference values used by the card network to identify a transaction. -
setUsage
Indicates if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file). The possible values are:- "FIRST". Indicates the Initial/First payment with a payment_source that is intended to be stored upon successful processing of the payment.
- "SUBSEQUENT". Indicates a payment using a stored payment_source which has been successfully used previously for a payment.
- "DERIVED". Indicates that PayPal will derive the value of `FIRST` or `SUBSEQUENT` based on data available to PayPal.
-
getPaymentInitiator
The person or party who initiated or triggered the payment. The possible values are:- "CUSTOMER". Payment is initiated with the active engagement of the customer. e.g. a customer checking out on a merchant website.
- "MERCHANT". Payment is initiated by merchant on behalf of the customer without the active engagement of customer. e.g. a merchant charging the monthly payment of a subscription to the customer.
-
getPaymentType
Indicates the type of the stored payment_source payment. The possible values are:- "ONE_TIME". One Time payment such as online purchase or donation. (e.g. Checkout with one-click).
- "RECURRING". Payment which is part of a series of payments with fixed or variable amounts, following a fixed time interval. (e.g. Subscription payments).
- "UNSCHEDULED". Payment which is part of a series of payments that occur on a non-fixed schedule and/or have variable amounts. (e.g. Account Topup payments).
-
getPreviousNetworkTransactionReference
Reference values used by the card network to identify a transaction. -
getUsage
Indicates if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file). The possible values are:- "FIRST". Indicates the Initial/First payment with a payment_source that is intended to be stored upon successful processing of the payment.
- "SUBSEQUENT". Indicates a payment using a stored payment_source which has been successfully used previously for a payment.
- "DERIVED". Indicates that PayPal will derive the value of `FIRST` or `SUBSEQUENT` based on data available to PayPal.
-