public class PaymentSource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentSource.Builder
Class to build instances of
PaymentSource. |
| Constructor and Description |
|---|
PaymentSource()
Default constructor.
|
PaymentSource(CardRequest card,
Token token,
PaypalWallet paypal,
BancontactPaymentRequest bancontact,
BlikPaymentRequest blik,
EpsPaymentRequest eps,
GiropayPaymentRequest giropay,
IdealPaymentRequest ideal,
MybankPaymentRequest mybank,
P24PaymentRequest p24,
SofortPaymentRequest sofort,
TrustlyPaymentRequest trustly,
ApplePayRequest applePay,
GooglePayRequest googlePay,
VenmoWalletRequest venmo)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ApplePayRequest |
getApplePay()
Getter for ApplePay.
|
BancontactPaymentRequest |
getBancontact()
Getter for Bancontact.
|
BlikPaymentRequest |
getBlik()
Getter for Blik.
|
CardRequest |
getCard()
Getter for Card.
|
EpsPaymentRequest |
getEps()
Getter for Eps.
|
GiropayPaymentRequest |
getGiropay()
Getter for Giropay.
|
GooglePayRequest |
getGooglePay()
Getter for GooglePay.
|
IdealPaymentRequest |
getIdeal()
Getter for Ideal.
|
MybankPaymentRequest |
getMybank()
Getter for Mybank.
|
P24PaymentRequest |
getP24()
Getter for P24.
|
PaypalWallet |
getPaypal()
Getter for Paypal.
|
SofortPaymentRequest |
getSofort()
Getter for Sofort.
|
Token |
getToken()
Getter for Token.
|
TrustlyPaymentRequest |
getTrustly()
Getter for Trustly.
|
VenmoWalletRequest |
getVenmo()
Getter for Venmo.
|
void |
setApplePay(ApplePayRequest applePay)
Setter for ApplePay.
|
void |
setBancontact(BancontactPaymentRequest bancontact)
Setter for Bancontact.
|
void |
setBlik(BlikPaymentRequest blik)
Setter for Blik.
|
void |
setCard(CardRequest card)
Setter for Card.
|
void |
setEps(EpsPaymentRequest eps)
Setter for Eps.
|
void |
setGiropay(GiropayPaymentRequest giropay)
Setter for Giropay.
|
void |
setGooglePay(GooglePayRequest googlePay)
Setter for GooglePay.
|
void |
setIdeal(IdealPaymentRequest ideal)
Setter for Ideal.
|
void |
setMybank(MybankPaymentRequest mybank)
Setter for Mybank.
|
void |
setP24(P24PaymentRequest p24)
Setter for P24.
|
void |
setPaypal(PaypalWallet paypal)
Setter for Paypal.
|
void |
setSofort(SofortPaymentRequest sofort)
Setter for Sofort.
|
void |
setToken(Token token)
Setter for Token.
|
void |
setTrustly(TrustlyPaymentRequest trustly)
Setter for Trustly.
|
void |
setVenmo(VenmoWalletRequest venmo)
Setter for Venmo.
|
PaymentSource.Builder |
toBuilder()
Builds a new
PaymentSource.Builder object. |
String |
toString()
Converts this PaymentSource into string format.
|
public PaymentSource()
public PaymentSource(CardRequest card, Token token, PaypalWallet paypal, BancontactPaymentRequest bancontact, BlikPaymentRequest blik, EpsPaymentRequest eps, GiropayPaymentRequest giropay, IdealPaymentRequest ideal, MybankPaymentRequest mybank, P24PaymentRequest p24, SofortPaymentRequest sofort, TrustlyPaymentRequest trustly, ApplePayRequest applePay, GooglePayRequest googlePay, VenmoWalletRequest venmo)
card - CardRequest value for card.token - Token value for token.paypal - PaypalWallet value for paypal.bancontact - BancontactPaymentRequest value for bancontact.blik - BlikPaymentRequest value for blik.eps - EpsPaymentRequest value for eps.giropay - GiropayPaymentRequest value for giropay.ideal - IdealPaymentRequest value for ideal.mybank - MybankPaymentRequest value for mybank.p24 - P24PaymentRequest value for p24.sofort - SofortPaymentRequest value for sofort.trustly - TrustlyPaymentRequest value for trustly.applePay - ApplePayRequest value for applePay.googlePay - GooglePayRequest value for googlePay.venmo - VenmoWalletRequest value for venmo.public CardRequest getCard()
public void setCard(CardRequest card)
card - Value for CardRequestpublic Token getToken()
public void setToken(Token token)
token - Value for Tokenpublic PaypalWallet getPaypal()
public void setPaypal(PaypalWallet paypal)
paypal - Value for PaypalWalletpublic BancontactPaymentRequest getBancontact()
public void setBancontact(BancontactPaymentRequest bancontact)
bancontact - Value for BancontactPaymentRequestpublic BlikPaymentRequest getBlik()
public void setBlik(BlikPaymentRequest blik)
blik - Value for BlikPaymentRequestpublic EpsPaymentRequest getEps()
public void setEps(EpsPaymentRequest eps)
eps - Value for EpsPaymentRequestpublic GiropayPaymentRequest getGiropay()
public void setGiropay(GiropayPaymentRequest giropay)
giropay - Value for GiropayPaymentRequestpublic IdealPaymentRequest getIdeal()
public void setIdeal(IdealPaymentRequest ideal)
ideal - Value for IdealPaymentRequestpublic MybankPaymentRequest getMybank()
public void setMybank(MybankPaymentRequest mybank)
mybank - Value for MybankPaymentRequestpublic P24PaymentRequest getP24()
public void setP24(P24PaymentRequest p24)
p24 - Value for P24PaymentRequestpublic SofortPaymentRequest getSofort()
public void setSofort(SofortPaymentRequest sofort)
sofort - Value for SofortPaymentRequestpublic TrustlyPaymentRequest getTrustly()
public void setTrustly(TrustlyPaymentRequest trustly)
trustly - Value for TrustlyPaymentRequestpublic ApplePayRequest getApplePay()
public void setApplePay(ApplePayRequest applePay)
applePay - Value for ApplePayRequestpublic GooglePayRequest getGooglePay()
public void setGooglePay(GooglePayRequest googlePay)
googlePay - Value for GooglePayRequestpublic VenmoWalletRequest getVenmo()
public void setVenmo(VenmoWalletRequest venmo)
venmo - Value for VenmoWalletRequestpublic String toString()
public PaymentSource.Builder toBuilder()
PaymentSource.Builder object.
Creates the instance with the state of the current model.PaymentSource.Builder objectCopyright © 2025. All rights reserved.