Package com.stripe.model
Class Charge.PaymentMethodDetails.Paypal
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Charge.PaymentMethodDetails.Paypal
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Charge.PaymentMethodDetails
For more details about Paypal, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about SellerProtection, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Two-letter ISO code representing the buyer's country.Owner's email.PayPal account PayerID.Owner's full name.The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.A unique ID generated by PayPal for this transaction.int
hashCode()
void
setCountry
(String country) Two-letter ISO code representing the buyer's country.void
setPayerEmail
(String payerEmail) Owner's email.void
setPayerId
(String payerId) PayPal account PayerID.void
setPayerName
(String payerName) Owner's full name.void
setSellerProtection
(Charge.PaymentMethodDetails.Paypal.SellerProtection sellerProtection) The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.void
setTransactionId
(String transactionId) A unique ID generated by PayPal for this transaction.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Paypal
public Paypal()
-
-
Method Details
-
getCountry
Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. -
getPayerEmail
Owner's email. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. -
getPayerId
PayPal account PayerID. This identifier uniquely identifies the PayPal customer. -
getPayerName
Owner's full name. Values provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. -
getSellerProtection
The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction. -
getTransactionId
A unique ID generated by PayPal for this transaction. -
setCountry
Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. -
setPayerEmail
Owner's email. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. -
setPayerId
PayPal account PayerID. This identifier uniquely identifies the PayPal customer. -
setPayerName
Owner's full name. Values provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. -
setSellerProtection
public void setSellerProtection(Charge.PaymentMethodDetails.Paypal.SellerProtection sellerProtection) The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction. -
setTransactionId
A unique ID generated by PayPal for this transaction. -
equals
-
canEqual
-
hashCode
public int hashCode()
-