PaypalPaymentOption¶
- class oci.osp_gateway.models.PaypalPaymentOption(**kwargs)¶
Bases:
PaymentOptionPayPal Payment related details
Attributes:
A constant which can be used with the payment_method property of a PaymentOption.
A constant which can be used with the payment_method property of a PaymentOption.
Gets the email_address of this PaypalPaymentOption.
Gets the ext_billing_agreement_id of this PaypalPaymentOption.
Gets the first_name of this PaypalPaymentOption.
Gets the last_name of this PaypalPaymentOption.
[Required] Gets the payment_method of this PaymentOption.
Gets the wallet_instrument_id of this PaymentOption.
Gets the wallet_transaction_id of this PaymentOption.
Methods:
__init__(**kwargs)Initializes a new PaypalPaymentOption object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- PAYMENT_METHOD_CREDIT_CARD = 'CREDIT_CARD'¶
A constant which can be used with the payment_method property of a PaymentOption. This constant has a value of “CREDIT_CARD”
- PAYMENT_METHOD_PAYPAL = 'PAYPAL'¶
A constant which can be used with the payment_method property of a PaymentOption. This constant has a value of “PAYPAL”
- __init__(**kwargs)¶
Initializes a new PaypalPaymentOption object with values from keyword arguments. The default value of the
payment_methodattribute of this class isPAYPALand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
wallet_instrument_id (str) – The value to assign to the wallet_instrument_id property of this PaypalPaymentOption.
wallet_transaction_id (str) – The value to assign to the wallet_transaction_id property of this PaypalPaymentOption.
payment_method (str) – The value to assign to the payment_method property of this PaypalPaymentOption. Allowed values for this property are: “CREDIT_CARD”, “PAYPAL”
email_address (str) – The value to assign to the email_address property of this PaypalPaymentOption.
first_name (str) – The value to assign to the first_name property of this PaypalPaymentOption.
last_name (str) – The value to assign to the last_name property of this PaypalPaymentOption.
ext_billing_agreement_id (str) – The value to assign to the ext_billing_agreement_id property of this PaypalPaymentOption.
- property email_address¶
Gets the email_address of this PaypalPaymentOption. The email address of the paypal user.
- Returns
The email_address of this PaypalPaymentOption.
- Return type
str
- property ext_billing_agreement_id¶
Gets the ext_billing_agreement_id of this PaypalPaymentOption. Agreement id for the paypal account.
- Returns
The ext_billing_agreement_id of this PaypalPaymentOption.
- Return type
str
- property first_name¶
Gets the first_name of this PaypalPaymentOption. First name of the paypal user.
- Returns
The first_name of this PaypalPaymentOption.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property last_name¶
Gets the last_name of this PaypalPaymentOption. Last name of the paypal user.
- Returns
The last_name of this PaypalPaymentOption.
- Return type
str
- property payment_method¶
[Required] Gets the payment_method of this PaymentOption. Payment method
Allowed values for this property are: “CREDIT_CARD”, “PAYPAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The payment_method of this PaymentOption.
- Return type
str
- property wallet_instrument_id¶
Gets the wallet_instrument_id of this PaymentOption. Wallet instrument internal id.
- Returns
The wallet_instrument_id of this PaymentOption.
- Return type
str
- property wallet_transaction_id¶
Gets the wallet_transaction_id of this PaymentOption. Wallet transaction id.
- Returns
The wallet_transaction_id of this PaymentOption.
- Return type
str