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 PaypalPaymentOptionbuild()PaypalPaymentOption.Buildercopy(PaypalPaymentOption model)PaypalPaymentOption.BuilderemailAddress(String emailAddress)The email address of the paypal user.PaypalPaymentOption.BuilderextBillingAgreementId(String extBillingAgreementId)Agreement id for the paypal account.PaypalPaymentOption.BuilderfirstName(String firstName)First name of the paypal user.PaypalPaymentOption.BuilderlastName(String lastName)Last name of the paypal user.PaypalPaymentOption.BuilderwalletInstrumentId(String walletInstrumentId)PaypalPaymentOption.BuilderwalletTransactionId(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)
-
-