@Generated(value="OracleSDKGenerator", comments="API Version: 20191001") public final class PaypalPaymentOption extends PaymentOption
PayPal Payment related details
Note: Objects should always be created or deserialized using the PaypalPaymentOption.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the PaypalPaymentOption.Builder
, which maintain a
set of all explicitly set fields called PaypalPaymentOption.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
PaypalPaymentOption.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PaypalPaymentOption(String walletInstrumentId,
String walletTransactionId,
String emailAddress,
String firstName,
String lastName,
String extBillingAgreementId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PaypalPaymentOption.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getEmailAddress()
The email address of the paypal user.
|
String |
getExtBillingAgreementId()
Agreement id for the paypal account.
|
String |
getFirstName()
First name of the paypal user.
|
String |
getLastName()
Last name of the paypal user.
|
int |
hashCode() |
PaypalPaymentOption.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getWalletInstrumentId, getWalletTransactionId
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static PaypalPaymentOption.Builder builder()
Create a new builder.
public PaypalPaymentOption.Builder toBuilder()
public String getEmailAddress()
The email address of the paypal user.
public String getFirstName()
First name of the paypal user.
public String getLastName()
Last name of the paypal user.
public String getExtBillingAgreementId()
Agreement id for the paypal account.
public String toString()
toString
in class PaymentOption
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class PaymentOption
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class PaymentOption
public int hashCode()
hashCode
in class PaymentOption
Copyright © 2016–2024. All rights reserved.