Package com.oracle.bmc.ospgateway.model
Class PaypalPaymentOption.Builder
- java.lang.Object
-
- com.oracle.bmc.ospgateway.model.PaypalPaymentOption.Builder
-
- Enclosing class:
- PaypalPaymentOption
public static class PaypalPaymentOption.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaypalPaymentOption
build()
PaypalPaymentOption.Builder
copy(PaypalPaymentOption model)
PaypalPaymentOption.Builder
emailAddress(String emailAddress)
The email address of the paypal user.PaypalPaymentOption.Builder
extBillingAgreementId(String extBillingAgreementId)
Agreement id for the paypal account.PaypalPaymentOption.Builder
firstName(String firstName)
First name of the paypal user.PaypalPaymentOption.Builder
lastName(String lastName)
Last name of the paypal user.PaypalPaymentOption.Builder
walletInstrumentId(String walletInstrumentId)
PaypalPaymentOption.Builder
walletTransactionId(String walletTransactionId)
-
-
-
Method Detail
-
walletInstrumentId
public PaypalPaymentOption.Builder walletInstrumentId(String walletInstrumentId)
-
walletTransactionId
public PaypalPaymentOption.Builder walletTransactionId(String walletTransactionId)
-
emailAddress
public PaypalPaymentOption.Builder emailAddress(String emailAddress)
The email address of the paypal user.- Parameters:
emailAddress
- the value to set- Returns:
- this builder
-
firstName
public PaypalPaymentOption.Builder firstName(String firstName)
First name of the paypal user.- Parameters:
firstName
- the value to set- Returns:
- this builder
-
lastName
public PaypalPaymentOption.Builder lastName(String lastName)
Last name of the paypal user.- Parameters:
lastName
- the value to set- Returns:
- this builder
-
extBillingAgreementId
public PaypalPaymentOption.Builder extBillingAgreementId(String extBillingAgreementId)
Agreement id for the paypal account.- Parameters:
extBillingAgreementId
- the value to set- Returns:
- this builder
-
build
public PaypalPaymentOption build()
-
copy
public PaypalPaymentOption.Builder copy(PaypalPaymentOption model)
-
-