Package com.stripe.model
Class PaymentRecord.PaymentMethodDetails.Paypal
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentRecord.PaymentMethodDetails.Paypal
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentRecord.PaymentMethodDetails
For more details about Paypal, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor 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 booleanbooleanTwo-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.inthashCode()voidsetCountry(String country) Two-letter ISO code representing the buyer's country.voidsetPayerEmail(String payerEmail) Owner's email.voidsetPayerId(String payerId) PayPal account PayerID.voidsetPayerName(String payerName) Owner's full name.voidThe level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.voidsetTransactionId(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(PaymentRecord.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()
-