Package com.braintreegateway
Class PaymentMethodOptionsRequest
- java.lang.Object
-
- com.braintreegateway.Request
-
- com.braintreegateway.PaymentMethodOptionsRequest
-
public class PaymentMethodOptionsRequest extends Request
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanfailOnDuplicatePaymentMethodprivate BooleanfailOnDuplicatePaymentMethodForCustomerprivate BooleanmakeDefaultprivate PaymentMethodRequestparentprivate PaymentMethodOptionsAdyenRequestpaymentMethodOptionsAdyenRequestprivate PaymentMethodOptionsPayPalRequestpaymentMethodOptionsPayPalRequestprivate BooleanskipAdvancedFraudCheckingprivate UsBankAccountVerification.VerificationMethodusBankAccountVerificationMethodprivate StringvenmoSdkSessionprivate StringverificationAccountTypeprivate UsBankAccountVerification.VerificationAddOnsverificationAddOnsprivate StringverificationAmountprivate StringverificationCurrencyIsoCodeprivate StringverificationMerchantAccountIdprivate BooleanverifyCard
-
Constructor Summary
Constructors Constructor Description PaymentMethodOptionsRequest()PaymentMethodOptionsRequest(PaymentMethodRequest parent)
-
Method Summary
-
Methods inherited from class com.braintreegateway.Request
buildXMLElement, buildXMLElement, getKind, toGraphQLVariables, toQueryString, toQueryString
-
-
-
-
Field Detail
-
failOnDuplicatePaymentMethod
private Boolean failOnDuplicatePaymentMethod
-
failOnDuplicatePaymentMethodForCustomer
private Boolean failOnDuplicatePaymentMethodForCustomer
-
makeDefault
private Boolean makeDefault
-
skipAdvancedFraudChecking
private Boolean skipAdvancedFraudChecking
-
verifyCard
private Boolean verifyCard
-
paymentMethodOptionsAdyenRequest
private PaymentMethodOptionsAdyenRequest paymentMethodOptionsAdyenRequest
-
paymentMethodOptionsPayPalRequest
private PaymentMethodOptionsPayPalRequest paymentMethodOptionsPayPalRequest
-
parent
private PaymentMethodRequest parent
-
venmoSdkSession
private String venmoSdkSession
-
verificationAccountType
private String verificationAccountType
-
verificationAmount
private String verificationAmount
-
verificationCurrencyIsoCode
private String verificationCurrencyIsoCode
-
verificationMerchantAccountId
private String verificationMerchantAccountId
-
verificationAddOns
private UsBankAccountVerification.VerificationAddOns verificationAddOns
-
usBankAccountVerificationMethod
private UsBankAccountVerification.VerificationMethod usBankAccountVerificationMethod
-
-
Constructor Detail
-
PaymentMethodOptionsRequest
public PaymentMethodOptionsRequest()
-
PaymentMethodOptionsRequest
public PaymentMethodOptionsRequest(PaymentMethodRequest parent)
-
-
Method Detail
-
done
public PaymentMethodRequest done()
-
getMakeDefault
public Boolean getMakeDefault()
-
makeDefault
public PaymentMethodOptionsRequest makeDefault(Boolean makeDefault)
-
verificationMerchantAccountId
public PaymentMethodOptionsRequest verificationMerchantAccountId(String verificationMerchantAccountId)
-
verificationAccountType
public PaymentMethodOptionsRequest verificationAccountType(String verificationAccountType)
-
verificationAddOns
public PaymentMethodOptionsRequest verificationAddOns(UsBankAccountVerification.VerificationAddOns addOn)
-
failOnDuplicatePaymentMethod
public PaymentMethodOptionsRequest failOnDuplicatePaymentMethod(Boolean failOnDuplicatePaymentMethod)
-
failOnDuplicatePaymentMethodForCustomer
public PaymentMethodOptionsRequest failOnDuplicatePaymentMethodForCustomer(Boolean failOnDuplicatePaymentMethodForCustomer)
-
verifyCard
public PaymentMethodOptionsRequest verifyCard(Boolean verifyCard)
-
skipAdvancedFraudChecking
public PaymentMethodOptionsRequest skipAdvancedFraudChecking(Boolean skipAdvancedFraudChecking)
-
verificationAmount
public PaymentMethodOptionsRequest verificationAmount(String verificationAmount)
-
venmoSdkSession
@Deprecated public PaymentMethodOptionsRequest venmoSdkSession(String venmoSdkSession)
Deprecated.- The Venmo SDK integration is Unsupported. Please update your integration to use Pay with Venmo instead
-
verificationCurrencyIsoCode
public PaymentMethodOptionsRequest verificationCurrencyIsoCode(String verificationCurrencyIsoCode)
-
paypal
public PaymentMethodOptionsPayPalRequest paypal()
-
adyen
public PaymentMethodOptionsAdyenRequest adyen()
-
usBankAccountVerificationMethod
public PaymentMethodOptionsRequest usBankAccountVerificationMethod(UsBankAccountVerification.VerificationMethod verificationMethod)
-
buildRequest
protected RequestBuilder buildRequest(String root)
-
-