CreditCardPaymentDetail¶
-
class
oci.osp_gateway.models.CreditCardPaymentDetail(**kwargs)¶ Bases:
oci.osp_gateway.models.payment_detail.PaymentDetailCredit card Payment related details
Attributes
CREDIT_CARD_TYPE_AMEXA constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. CREDIT_CARD_TYPE_DINERA constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. CREDIT_CARD_TYPE_DISCOVERA constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. CREDIT_CARD_TYPE_ELOA constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. CREDIT_CARD_TYPE_JCBA constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. CREDIT_CARD_TYPE_MASTERCARDA constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. CREDIT_CARD_TYPE_VISAA constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. PAYMENT_METHOD_CREDIT_CARDstr(object=’’) -> str PAYMENT_METHOD_ECHECKstr(object=’’) -> str PAYMENT_METHOD_OTHERstr(object=’’) -> str PAYMENT_METHOD_PAYPALstr(object=’’) -> str amount_paidGets the amount_paid of this PaymentDetail. credit_card_typeGets the credit_card_type of this CreditCardPaymentDetail. last_digitsGets the last_digits of this CreditCardPaymentDetail. name_on_cardGets the name_on_card of this CreditCardPaymentDetail. paid_byGets the paid_by of this PaymentDetail. payment_method[Required] Gets the payment_method of this PaymentDetail. time_expirationGets the time_expiration of this CreditCardPaymentDetail. time_paid_onGets the time_paid_on of this PaymentDetail. Methods
__init__(**kwargs)Initializes a new CreditCardPaymentDetail 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. -
CREDIT_CARD_TYPE_AMEX= 'AMEX'¶ A constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. This constant has a value of “AMEX”
-
CREDIT_CARD_TYPE_DINER= 'DINER'¶ A constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. This constant has a value of “DINER”
-
CREDIT_CARD_TYPE_DISCOVER= 'DISCOVER'¶ A constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. This constant has a value of “DISCOVER”
-
CREDIT_CARD_TYPE_ELO= 'ELO'¶ A constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. This constant has a value of “ELO”
-
CREDIT_CARD_TYPE_JCB= 'JCB'¶ A constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. This constant has a value of “JCB”
-
CREDIT_CARD_TYPE_MASTERCARD= 'MASTERCARD'¶ A constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. This constant has a value of “MASTERCARD”
-
CREDIT_CARD_TYPE_VISA= 'VISA'¶ A constant which can be used with the credit_card_type property of a CreditCardPaymentDetail. This constant has a value of “VISA”
-
PAYMENT_METHOD_CREDIT_CARD= 'CREDIT_CARD'¶
-
PAYMENT_METHOD_ECHECK= 'ECHECK'¶
-
PAYMENT_METHOD_OTHER= 'OTHER'¶
-
PAYMENT_METHOD_PAYPAL= 'PAYPAL'¶
-
__init__(**kwargs)¶ Initializes a new CreditCardPaymentDetail object with values from keyword arguments. The default value of the
payment_methodattribute of this class isCREDIT_CARDand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - time_paid_on (datetime) – The value to assign to the time_paid_on property of this CreditCardPaymentDetail.
- paid_by (str) – The value to assign to the paid_by property of this CreditCardPaymentDetail.
- payment_method (str) – The value to assign to the payment_method property of this CreditCardPaymentDetail. Allowed values for this property are: “CREDIT_CARD”, “PAYPAL”, “ECHECK”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- amount_paid (float) – The value to assign to the amount_paid property of this CreditCardPaymentDetail.
- name_on_card (str) – The value to assign to the name_on_card property of this CreditCardPaymentDetail.
- credit_card_type (str) – The value to assign to the credit_card_type property of this CreditCardPaymentDetail. Allowed values for this property are: “VISA”, “AMEX”, “MASTERCARD”, “DISCOVER”, “JCB”, “DINER”, “ELO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- last_digits (str) – The value to assign to the last_digits property of this CreditCardPaymentDetail.
- time_expiration (datetime) – The value to assign to the time_expiration property of this CreditCardPaymentDetail.
-
amount_paid¶ Gets the amount_paid of this PaymentDetail. Amount that paid
Returns: The amount_paid of this PaymentDetail. Return type: float
-
credit_card_type¶ Gets the credit_card_type of this CreditCardPaymentDetail. Credit card type
Allowed values for this property are: “VISA”, “AMEX”, “MASTERCARD”, “DISCOVER”, “JCB”, “DINER”, “ELO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The credit_card_type of this CreditCardPaymentDetail. 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.
-
last_digits¶ Gets the last_digits of this CreditCardPaymentDetail. Last four digits of the card
Returns: The last_digits of this CreditCardPaymentDetail. Return type: str
-
name_on_card¶ Gets the name_on_card of this CreditCardPaymentDetail. Name on the credit card
Returns: The name_on_card of this CreditCardPaymentDetail. Return type: str
-
paid_by¶ Gets the paid_by of this PaymentDetail. example
Returns: The paid_by of this PaymentDetail. Return type: str
-
payment_method¶ [Required] Gets the payment_method of this PaymentDetail. Payment method
Allowed values for this property are: “CREDIT_CARD”, “PAYPAL”, “ECHECK”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The payment_method of this PaymentDetail. Return type: str
-
time_expiration¶ Gets the time_expiration of this CreditCardPaymentDetail. Expired date of the credit card
Returns: The time_expiration of this CreditCardPaymentDetail. Return type: datetime
-
time_paid_on¶ Gets the time_paid_on of this PaymentDetail. Paid the invoice on this day
Returns: The time_paid_on of this PaymentDetail. Return type: datetime
-