Class Processing
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessionscomplete.requests.Processing
-
public final class Processing extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessing.ProcessingBuilder
-
Constructor Summary
Constructors Constructor Description Processing()Processing(java.lang.Boolean aft, java.lang.Double discountAmount, java.lang.Double shippingAmount, java.lang.Double taxAmount, java.lang.String invoiceId, java.lang.String brandName, java.lang.String locale, java.util.List<PartnerCustomerRiskData> partnerCustomerRiskData, java.util.List<java.lang.String> customPaymentMethodIds, java.util.List<AirlineData> airlineData, java.util.List<AccommodationData> accommodationData, java.lang.String orderId, java.lang.Long surchargeAmount, java.lang.Double dutyAmount, java.lang.Double shippingTaxAmount, java.lang.String purchaseCountry, MerchantInitiatedReasonType merchantInitiatedReason, java.lang.Long campaignId, java.lang.Double originalOrderAmount, java.lang.String receiptId, java.lang.String merchantCallbackUrl, java.lang.String lineOfBusiness, PanPreferenceType panPreference, java.lang.Boolean provisionNetworkToken)Creates a newProcessinginstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Processing.ProcessingBuilderbuilder()booleanequals(java.lang.Object o)java.util.List<AccommodationData>getAccommodationData()Contains information about the accommodation booked by the customer.java.lang.BooleangetAft()Indicates whether the payment is an Account Funding Transactionjava.util.List<AirlineData>getAirlineData()Contains information about the airline ticket and flights booked by the customer.java.lang.StringgetBrandName()The label that overrides the business name in the PayPal account on the PayPal pages.java.lang.LonggetCampaignId()Unique number of the campaign this payment will be running in.java.util.List<java.lang.String>getCustomPaymentMethodIds()Promo codes - An array that can be used to define which of the configured payment options within a payment category (pay_later, pay_over_time, etc.) should be shown for this purchase.java.lang.DoublegetDiscountAmount()The discount amount applied to the transaction by the merchant.java.lang.DoublegetDutyAmount()The total charges for any import/export duty included in the transaction.java.lang.StringgetInvoiceId()Invoice ID number.java.lang.StringgetLineOfBusiness()Beta The line of business that the payment is associated with.java.lang.StringgetLocale()The language and region of the customer in ISO 639-2 language code; value consists of language-country.java.lang.StringgetMerchantCallbackUrl()A URL which you can use to notify the customer that the order has been created.MerchantInitiatedReasonTypegetMerchantInitiatedReason()Indicates the reason for a merchant-initiated payment request.java.lang.StringgetOrderId()The number provided by the cardholder.java.lang.DoublegetOriginalOrderAmount()The payment for a merchant's order may be split, and the original order price indicates the transaction amount of the entire order.PanPreferenceTypegetPanPreference()Specifies the preferred type of Primary Account Number (PAN) for the payment: DPAN: Uses the Checkout.com Network Token.java.util.List<PartnerCustomerRiskData>getPartnerCustomerRiskData()An array of key-and-value pairs with merchant-specific data for the transaction.java.lang.BooleangetProvisionNetworkToken()Default: true Indicates whether to provision a network token for the payment.java.lang.StringgetPurchaseCountry()The purchase country of the customer.java.lang.StringgetReceiptId()Merchant receipt ID.java.lang.DoublegetShippingAmount()The total freight or shipping and handling charges for the transaction.java.lang.DoublegetShippingTaxAmount()The tax amount of the freight or shipping and handling charges for the transaction.java.lang.LonggetSurchargeAmount()Surcharge amount applied to the transaction in minor units by the merchant.java.lang.DoublegetTaxAmount()The customer's value-added tax registration number.inthashCode()voidsetAccommodationData(java.util.List<AccommodationData> accommodationData)Contains information about the accommodation booked by the customer.voidsetAft(java.lang.Boolean aft)Indicates whether the payment is an Account Funding TransactionvoidsetAirlineData(java.util.List<AirlineData> airlineData)Contains information about the airline ticket and flights booked by the customer.voidsetBrandName(java.lang.String brandName)The label that overrides the business name in the PayPal account on the PayPal pages.voidsetCampaignId(java.lang.Long campaignId)Unique number of the campaign this payment will be running in.voidsetCustomPaymentMethodIds(java.util.List<java.lang.String> customPaymentMethodIds)Promo codes - An array that can be used to define which of the configured payment options within a payment category (pay_later, pay_over_time, etc.) should be shown for this purchase.voidsetDiscountAmount(java.lang.Double discountAmount)The discount amount applied to the transaction by the merchant.voidsetDutyAmount(java.lang.Double dutyAmount)The total charges for any import/export duty included in the transaction.voidsetInvoiceId(java.lang.String invoiceId)Invoice ID number.voidsetLineOfBusiness(java.lang.String lineOfBusiness)Beta The line of business that the payment is associated with.voidsetLocale(java.lang.String locale)The language and region of the customer in ISO 639-2 language code; value consists of language-country.voidsetMerchantCallbackUrl(java.lang.String merchantCallbackUrl)A URL which you can use to notify the customer that the order has been created.voidsetMerchantInitiatedReason(MerchantInitiatedReasonType merchantInitiatedReason)Indicates the reason for a merchant-initiated payment request.voidsetOrderId(java.lang.String orderId)The number provided by the cardholder.voidsetOriginalOrderAmount(java.lang.Double originalOrderAmount)The payment for a merchant's order may be split, and the original order price indicates the transaction amount of the entire order.voidsetPanPreference(PanPreferenceType panPreference)Specifies the preferred type of Primary Account Number (PAN) for the payment: DPAN: Uses the Checkout.com Network Token.voidsetPartnerCustomerRiskData(java.util.List<PartnerCustomerRiskData> partnerCustomerRiskData)An array of key-and-value pairs with merchant-specific data for the transaction.voidsetProvisionNetworkToken(java.lang.Boolean provisionNetworkToken)Default: true Indicates whether to provision a network token for the payment.voidsetPurchaseCountry(java.lang.String purchaseCountry)The purchase country of the customer.voidsetReceiptId(java.lang.String receiptId)Merchant receipt ID.voidsetShippingAmount(java.lang.Double shippingAmount)The total freight or shipping and handling charges for the transaction.voidsetShippingTaxAmount(java.lang.Double shippingTaxAmount)The tax amount of the freight or shipping and handling charges for the transaction.voidsetSurchargeAmount(java.lang.Long surchargeAmount)Surcharge amount applied to the transaction in minor units by the merchant.voidsetTaxAmount(java.lang.Double taxAmount)The customer's value-added tax registration number.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Processing
public Processing()
-
Processing
public Processing(java.lang.Boolean aft, java.lang.Double discountAmount, java.lang.Double shippingAmount, java.lang.Double taxAmount, java.lang.String invoiceId, java.lang.String brandName, java.lang.String locale, java.util.List<PartnerCustomerRiskData> partnerCustomerRiskData, java.util.List<java.lang.String> customPaymentMethodIds, java.util.List<AirlineData> airlineData, java.util.List<AccommodationData> accommodationData, java.lang.String orderId, java.lang.Long surchargeAmount, java.lang.Double dutyAmount, java.lang.Double shippingTaxAmount, java.lang.String purchaseCountry, MerchantInitiatedReasonType merchantInitiatedReason, java.lang.Long campaignId, java.lang.Double originalOrderAmount, java.lang.String receiptId, java.lang.String merchantCallbackUrl, java.lang.String lineOfBusiness, PanPreferenceType panPreference, java.lang.Boolean provisionNetworkToken)Creates a newProcessinginstance.- Parameters:
aft- Indicates whether the payment is an Account Funding TransactiondiscountAmount- The discount amount applied to the transaction by the merchant.shippingAmount- The total freight or shipping and handling charges for the transaction.taxAmount- The customer's value-added tax registration number.invoiceId- Invoice ID number.brandName- The label that overrides the business name in the PayPal account on the PayPal pages.locale- The language and region of the customer in ISO 639-2 language code; value consists of language-country.partnerCustomerRiskData- An array of key-and-value pairs with merchant-specific data for the transaction.customPaymentMethodIds- Promo codes - An array that can be used to define which of the configured payment options within a payment category (pay_later, pay_over_time, etc.) should be shown for this purchase.airlineData- Contains information about the airline ticket and flights booked by the customer.accommodationData- Contains information about the accommodation booked by the customer.orderId- The number provided by the cardholder. Purchase order or invoice number may be used.surchargeAmount- Surcharge amount applied to the transaction in minor units by the merchant.dutyAmount- The total charges for any import/export duty included in the transaction.shippingTaxAmount- The tax amount of the freight or shipping and handling charges for the transaction.purchaseCountry- The purchase country of the customer. ISO 3166 alpha-2 purchase country.merchantInitiatedReason- Indicates the reason for a merchant-initiated payment request.campaignId- Unique number of the campaign this payment will be running in. Only required for Afterpay campaign invoices.originalOrderAmount- The payment for a merchant's order may be split, and the original order price indicates the transaction amount of the entire order.receiptId- Merchant receipt ID.merchantCallbackUrl- A URL which you can use to notify the customer that the order has been created.lineOfBusiness- Beta The line of business that the payment is associated with.panPreference- Specifies the preferred type of Primary Account Number (PAN) for the payment: DPAN: Uses the Checkout.com Network Token. FPAN: Uses the full card number. Note: This only works when source.type is any of: cards instruments tokensprovisionNetworkToken- Default: true Indicates whether to provision a network token for the payment.
-
-
Method Detail
-
builder
public static Processing.ProcessingBuilder builder()
-
getAft
public java.lang.Boolean getAft()
Indicates whether the payment is an Account Funding Transaction
-
getDiscountAmount
public java.lang.Double getDiscountAmount()
The discount amount applied to the transaction by the merchant.
-
getShippingAmount
public java.lang.Double getShippingAmount()
The total freight or shipping and handling charges for the transaction.
-
getTaxAmount
public java.lang.Double getTaxAmount()
The customer's value-added tax registration number.
-
getInvoiceId
public java.lang.String getInvoiceId()
Invoice ID number.
-
getBrandName
public java.lang.String getBrandName()
The label that overrides the business name in the PayPal account on the PayPal pages.
-
getLocale
public java.lang.String getLocale()
The language and region of the customer in ISO 639-2 language code; value consists of language-country.
-
getPartnerCustomerRiskData
public java.util.List<PartnerCustomerRiskData> getPartnerCustomerRiskData()
An array of key-and-value pairs with merchant-specific data for the transaction.
-
getCustomPaymentMethodIds
public java.util.List<java.lang.String> getCustomPaymentMethodIds()
Promo codes - An array that can be used to define which of the configured payment options within a payment category (pay_later, pay_over_time, etc.) should be shown for this purchase.
-
getAirlineData
public java.util.List<AirlineData> getAirlineData()
Contains information about the airline ticket and flights booked by the customer.
-
getAccommodationData
public java.util.List<AccommodationData> getAccommodationData()
Contains information about the accommodation booked by the customer.
-
getOrderId
public java.lang.String getOrderId()
The number provided by the cardholder. Purchase order or invoice number may be used.
-
getSurchargeAmount
public java.lang.Long getSurchargeAmount()
Surcharge amount applied to the transaction in minor units by the merchant.
-
getDutyAmount
public java.lang.Double getDutyAmount()
The total charges for any import/export duty included in the transaction.
-
getShippingTaxAmount
public java.lang.Double getShippingTaxAmount()
The tax amount of the freight or shipping and handling charges for the transaction.
-
getPurchaseCountry
public java.lang.String getPurchaseCountry()
The purchase country of the customer. ISO 3166 alpha-2 purchase country.
-
getMerchantInitiatedReason
public MerchantInitiatedReasonType getMerchantInitiatedReason()
Indicates the reason for a merchant-initiated payment request.
-
getCampaignId
public java.lang.Long getCampaignId()
Unique number of the campaign this payment will be running in. Only required for Afterpay campaign invoices.
-
getOriginalOrderAmount
public java.lang.Double getOriginalOrderAmount()
The payment for a merchant's order may be split, and the original order price indicates the transaction amount of the entire order.
-
getReceiptId
public java.lang.String getReceiptId()
Merchant receipt ID.
-
getMerchantCallbackUrl
public java.lang.String getMerchantCallbackUrl()
A URL which you can use to notify the customer that the order has been created.
-
getLineOfBusiness
public java.lang.String getLineOfBusiness()
Beta The line of business that the payment is associated with.
-
getPanPreference
public PanPreferenceType getPanPreference()
Specifies the preferred type of Primary Account Number (PAN) for the payment: DPAN: Uses the Checkout.com Network Token. FPAN: Uses the full card number. Note: This only works when source.type is any of: cards instruments tokens
-
getProvisionNetworkToken
public java.lang.Boolean getProvisionNetworkToken()
Default: true Indicates whether to provision a network token for the payment.
-
setAft
public void setAft(java.lang.Boolean aft)
Indicates whether the payment is an Account Funding Transaction
-
setDiscountAmount
public void setDiscountAmount(java.lang.Double discountAmount)
The discount amount applied to the transaction by the merchant.
-
setShippingAmount
public void setShippingAmount(java.lang.Double shippingAmount)
The total freight or shipping and handling charges for the transaction.
-
setTaxAmount
public void setTaxAmount(java.lang.Double taxAmount)
The customer's value-added tax registration number.
-
setInvoiceId
public void setInvoiceId(java.lang.String invoiceId)
Invoice ID number.
-
setBrandName
public void setBrandName(java.lang.String brandName)
The label that overrides the business name in the PayPal account on the PayPal pages.
-
setLocale
public void setLocale(java.lang.String locale)
The language and region of the customer in ISO 639-2 language code; value consists of language-country.
-
setPartnerCustomerRiskData
public void setPartnerCustomerRiskData(java.util.List<PartnerCustomerRiskData> partnerCustomerRiskData)
An array of key-and-value pairs with merchant-specific data for the transaction.
-
setCustomPaymentMethodIds
public void setCustomPaymentMethodIds(java.util.List<java.lang.String> customPaymentMethodIds)
Promo codes - An array that can be used to define which of the configured payment options within a payment category (pay_later, pay_over_time, etc.) should be shown for this purchase.
-
setAirlineData
public void setAirlineData(java.util.List<AirlineData> airlineData)
Contains information about the airline ticket and flights booked by the customer.
-
setAccommodationData
public void setAccommodationData(java.util.List<AccommodationData> accommodationData)
Contains information about the accommodation booked by the customer.
-
setOrderId
public void setOrderId(java.lang.String orderId)
The number provided by the cardholder. Purchase order or invoice number may be used.
-
setSurchargeAmount
public void setSurchargeAmount(java.lang.Long surchargeAmount)
Surcharge amount applied to the transaction in minor units by the merchant.
-
setDutyAmount
public void setDutyAmount(java.lang.Double dutyAmount)
The total charges for any import/export duty included in the transaction.
-
setShippingTaxAmount
public void setShippingTaxAmount(java.lang.Double shippingTaxAmount)
The tax amount of the freight or shipping and handling charges for the transaction.
-
setPurchaseCountry
public void setPurchaseCountry(java.lang.String purchaseCountry)
The purchase country of the customer. ISO 3166 alpha-2 purchase country.
-
setMerchantInitiatedReason
public void setMerchantInitiatedReason(MerchantInitiatedReasonType merchantInitiatedReason)
Indicates the reason for a merchant-initiated payment request.
-
setCampaignId
public void setCampaignId(java.lang.Long campaignId)
Unique number of the campaign this payment will be running in. Only required for Afterpay campaign invoices.
-
setOriginalOrderAmount
public void setOriginalOrderAmount(java.lang.Double originalOrderAmount)
The payment for a merchant's order may be split, and the original order price indicates the transaction amount of the entire order.
-
setReceiptId
public void setReceiptId(java.lang.String receiptId)
Merchant receipt ID.
-
setMerchantCallbackUrl
public void setMerchantCallbackUrl(java.lang.String merchantCallbackUrl)
A URL which you can use to notify the customer that the order has been created.
-
setLineOfBusiness
public void setLineOfBusiness(java.lang.String lineOfBusiness)
Beta The line of business that the payment is associated with.
-
setPanPreference
public void setPanPreference(PanPreferenceType panPreference)
Specifies the preferred type of Primary Account Number (PAN) for the payment: DPAN: Uses the Checkout.com Network Token. FPAN: Uses the full card number. Note: This only works when source.type is any of: cards instruments tokens
-
setProvisionNetworkToken
public void setProvisionNetworkToken(java.lang.Boolean provisionNetworkToken)
Default: true Indicates whether to provision a network token for the payment.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-