Payment

public interface Payment

The method field value is used as a discriminator, with the following mapping: * CREDIT_CARD: CreditCard * PAYPAL: PayPal * POINTS: Points * GIFT_CARD: GiftCard * INTERNET_BANK_PAYMENT: InternetBankPayment * DIRECT_DEBIT: DirectDebit * THIRD_PARTY_PROVIDER : `THIRD_PARTY_PROVIDER ``

Parameters

brand

The brand field value is the payment brand used for payment on this transaction. For credit card payment method ensure attributes mentioned in dictionary below are set to corresponding values only. Ensure to comply with the naming standards provided in below dictionary. For example, some Payment processors use “Japan Credit Bureau” but “JCB” should be used when calling Fraud API. Incorrect brand - card_type combination will result in data quality issues and result in degraded risk recommendation. 'brand' is an enum value with the following mapping with CreditCard 'card_type' attribute: * brand : card_type * ------------------------------------------------------- * AMERICAN_EXPRESS : AMERICAN_EXPRESS * DINERS_CLUB_INTERNATIONAL : DINERS_CLUB * BC_CARD : DINERS_CLUB * DISCOVER : DISCOVER * BC_CARD : DISCOVER * DINERS_CLUB_INTERNATIONAL : DISCOVER * JCB : DISCOVER * JCB : JCB * MASTER_CARD : MASTER_CARD * MAESTRO : MASTER_CARD * POSTEPAY_MASTERCARD : MASTER_CARD * SOLO : SOLO * SWITCH : SWITCH * MAESTRO : MAESTRO * CHINA_UNION_PAY : CHINA_UNION_PAY * UATP : UATP * UATP_SUPPLY : UATP * AIR_PLUS : UATP * UA_PASS_PLUS : UATP * VISA : VISA * VISA_DELTA : VISA * VISA_ELECTRON : VISA * CARTA_SI : VISA * CARTE_BLEUE : VISA * VISA_DANKORT : VISA * POSTEPAY_VISA_ELECTRON : VISA * PAYPAL : 'brand' with 'Points' payment_type is an enum value with following: * EXPEDIA_REWARDS * AMEX_POINTS * BANK_OF_AMERICA_REWARDS * DISCOVER_POINTS * MASTER_CARD_POINTS * CITI_THANK_YOU_POINTS * MERRILL_LYNCH_REWARDS * WELLS_FARGO_POINTS * DELTA_SKY_MILES * UNITED_POINTS * DISCOVER_MILES * ALASKA_MILES * RBC_REWARDS * BILT_REWARDS * ORBUCKS * CHEAP_CASH * BONUS_PLUS * ULTIMATE_REWARDS 'brand' with 'GiftCard' payment_type is an enum value with following: * GIFT_CARD 'brand' with 'InternetBankPayment' payment_type is an enum value with following: * IBP * LOCAL_DEBIT_CARD * SOFORT * YANDEX * WEB_MONEY * QIWI * BITCOIN 'brand' with 'DirectDebit' payment_type is an enum value with following: * ELV * INTER_COMPANY * SEPA_ELV 'brand' with 'ThirdPartyProvider' payment_type is an enum value with following: * STRIPE

method
billingName
billingAddress
billingEmailAddress

Email address associated with the payment.

reason
authorizedAmount
verifiedAmount
threeDigitsSecureCriteria
operations
extensions

A key-value pair map to hold additional attributes.

Inheritors

Types

Link copied to clipboard
public enum Brand extends Enum<Payment.Brand>

The brand field value is the payment brand used for payment on this transaction. For credit card payment method ensure attributes mentioned in dictionary below are set to corresponding values only. Ensure to comply with the naming standards provided in below dictionary. For example, some Payment processors use “Japan Credit Bureau” but “JCB” should be used when calling Fraud API. Incorrect brand - card_type combination will result in data quality issues and result in degraded risk recommendation. 'brand' is an enum value with the following mapping with CreditCard 'card_type' attribute: * brand : card_type * ------------------------------------------------------- * AMERICAN_EXPRESS : AMERICAN_EXPRESS * DINERS_CLUB_INTERNATIONAL : DINERS_CLUB * BC_CARD : DINERS_CLUB * DISCOVER : DISCOVER * BC_CARD : DISCOVER * DINERS_CLUB_INTERNATIONAL : DISCOVER * JCB : DISCOVER * JCB : JCB * MASTER_CARD : MASTER_CARD * MAESTRO : MASTER_CARD * POSTEPAY_MASTERCARD : MASTER_CARD * SOLO : SOLO * SWITCH : SWITCH * MAESTRO : MAESTRO * CHINA_UNION_PAY : CHINA_UNION_PAY * UATP : UATP * UATP_SUPPLY : UATP * AIR_PLUS : UATP * UA_PASS_PLUS : UATP * VISA : VISA * VISA_DELTA : VISA * VISA_ELECTRON : VISA * CARTA_SI : VISA * CARTE_BLEUE : VISA * VISA_DANKORT : VISA * POSTEPAY_VISA_ELECTRON : VISA * PAYPAL : 'brand' with 'Points' payment_type is an enum value with following: * EXPEDIA_REWARDS * AMEX_POINTS * BANK_OF_AMERICA_REWARDS * DISCOVER_POINTS * MASTER_CARD_POINTS * CITI_THANK_YOU_POINTS * MERRILL_LYNCH_REWARDS * WELLS_FARGO_POINTS * DELTA_SKY_MILES * UNITED_POINTS * DISCOVER_MILES * ALASKA_MILES * RBC_REWARDS * BILT_REWARDS * ORBUCKS * CHEAP_CASH * BONUS_PLUS * ULTIMATE_REWARDS 'brand' with 'GiftCard' payment_type is an enum value with following: * GIFT_CARD 'brand' with 'InternetBankPayment' payment_type is an enum value with following: * IBP * LOCAL_DEBIT_CARD * SOFORT * YANDEX * WEB_MONEY * QIWI * BITCOIN 'brand' with 'DirectDebit' payment_type is an enum value with following: * ELV * INTER_COMPANY * SEPA_ELV 'brand' with 'ThirdPartyProvider' payment_type is an enum value with following: * STRIPE Values: AMERICAN_EXPRESS,DINERS_CLUB_INTERNATIONAL,BC_CARD,DISCOVER,JCB,MASTER_CARD,MAESTRO,POSTEPAY_MASTERCARD,SOLO,SWITCH,CHINA_UNION_PAY,UATP,UATP_SUPPLY,AIR_PLUS,UA_PASS_PLUS,VISA,VISA_DELTA,VISA_ELECTRON,CARTA_SI,CARTE_BLEUE,VISA_DANKORT,POSTEPAY_VISA_ELECTRON,PAYPAL,EXPEDIA_REWARDS,AMEX_POINTS,BANK_OF_AMERICA_REWARDS,DISCOVER_POINTS,MASTER_CARD_POINTS,CITI_THANK_YOU_POINTS,MERRILL_LYNCH_REWARDS,WELLS_FARGO_POINTS,DELTA_SKY_MILES,UNITED_POINTS,DISCOVER_MILES,ALASKA_MILES,RBC_REWARDS,BILT_REWARDS,ORBUCKS,CHEAP_CASH,BONUS_PLUS,ULTIMATE_REWARDS,GIFT_CARD,IBP,LOCAL_DEBIT_CARD,SOFORT,YANDEX,WEB_MONEY,QIWI,BITCOIN,ELV,INTER_COMPANY,SEPA_ELV,STRIPE

Functions

Link copied to clipboard
public abstract Amount getAuthorizedAmount()
Link copied to clipboard
Link copied to clipboard
public abstract String getBillingEmailAddress()
Link copied to clipboard
public abstract Name getBillingName()
Link copied to clipboard
public abstract Payment.Brand getBrand()
Link copied to clipboard
public abstract Map<String, String> getExtensions()
Link copied to clipboard
public abstract PaymentMethod getMethod()
Link copied to clipboard
public abstract Operations getOperations()
Link copied to clipboard
public abstract PaymentReason getReason()
Link copied to clipboard
public abstract Amount getVerifiedAmount()