OtherPaymentDetail¶
-
class
oci.osp_gateway.models.
OtherPaymentDetail
(**kwargs)¶ Bases:
oci.osp_gateway.models.payment_detail.PaymentDetail
Other Payment related details
Attributes
CREDIT_CARD_TYPE_AMEX
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. CREDIT_CARD_TYPE_CHECKING
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. CREDIT_CARD_TYPE_CORPORATE_CHECKING
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. CREDIT_CARD_TYPE_DINER
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. CREDIT_CARD_TYPE_DISCOVER
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. CREDIT_CARD_TYPE_ELO
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. CREDIT_CARD_TYPE_JCB
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. CREDIT_CARD_TYPE_MASTERCARD
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. CREDIT_CARD_TYPE_SAVING
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. CREDIT_CARD_TYPE_VISA
A constant which can be used with the credit_card_type property of a OtherPaymentDetail. PAYMENT_METHOD_CREDIT_CARD
str(object=’’) -> str PAYMENT_METHOD_ECHECK
str(object=’’) -> str PAYMENT_METHOD_OTHER
str(object=’’) -> str PAYMENT_METHOD_PAYPAL
str(object=’’) -> str amount_paid
Gets the amount_paid of this PaymentDetail. credit_card_type
Gets the credit_card_type of this OtherPaymentDetail. echeck_routing
Gets the echeck_routing of this OtherPaymentDetail. last_digits
Gets the last_digits of this OtherPaymentDetail. name_on_card
Gets the name_on_card of this OtherPaymentDetail. paid_by
Gets the paid_by of this PaymentDetail. payment_method
[Required] Gets the payment_method of this PaymentDetail. time_expiration
Gets the time_expiration of this OtherPaymentDetail. time_paid_on
Gets the time_paid_on of this PaymentDetail. Methods
__init__
(**kwargs)Initializes a new OtherPaymentDetail 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 OtherPaymentDetail. This constant has a value of “AMEX”
-
CREDIT_CARD_TYPE_CHECKING
= 'CHECKING'¶ A constant which can be used with the credit_card_type property of a OtherPaymentDetail. This constant has a value of “CHECKING”
-
CREDIT_CARD_TYPE_CORPORATE_CHECKING
= 'CORPORATE_CHECKING'¶ A constant which can be used with the credit_card_type property of a OtherPaymentDetail. This constant has a value of “CORPORATE_CHECKING”
-
CREDIT_CARD_TYPE_DINER
= 'DINER'¶ A constant which can be used with the credit_card_type property of a OtherPaymentDetail. 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 OtherPaymentDetail. 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 OtherPaymentDetail. 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 OtherPaymentDetail. 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 OtherPaymentDetail. This constant has a value of “MASTERCARD”
-
CREDIT_CARD_TYPE_SAVING
= 'SAVING'¶ A constant which can be used with the credit_card_type property of a OtherPaymentDetail. This constant has a value of “SAVING”
-
CREDIT_CARD_TYPE_VISA
= 'VISA'¶ A constant which can be used with the credit_card_type property of a OtherPaymentDetail. 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 OtherPaymentDetail object with values from keyword arguments. The default value of the
payment_method
attribute of this class isOTHER
and 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 OtherPaymentDetail.
- paid_by (str) – The value to assign to the paid_by property of this OtherPaymentDetail.
- payment_method (str) – The value to assign to the payment_method property of this OtherPaymentDetail. 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 OtherPaymentDetail.
- echeck_routing (str) – The value to assign to the echeck_routing property of this OtherPaymentDetail.
- name_on_card (str) – The value to assign to the name_on_card property of this OtherPaymentDetail.
- credit_card_type (str) – The value to assign to the credit_card_type property of this OtherPaymentDetail. Allowed values for this property are: “VISA”, “AMEX”, “MASTERCARD”, “DISCOVER”, “JCB”, “DINER”, “ELO”, “SAVING”, “CHECKING”, “CORPORATE_CHECKING”, ‘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 OtherPaymentDetail.
- time_expiration (datetime) – The value to assign to the time_expiration property of this OtherPaymentDetail.
-
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 OtherPaymentDetail. Echeck card type
Allowed values for this property are: “VISA”, “AMEX”, “MASTERCARD”, “DISCOVER”, “JCB”, “DINER”, “ELO”, “SAVING”, “CHECKING”, “CORPORATE_CHECKING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The credit_card_type of this OtherPaymentDetail. Return type: str
-
echeck_routing
¶ Gets the echeck_routing of this OtherPaymentDetail. Last four routing digits of the card
Returns: The echeck_routing of this OtherPaymentDetail. 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 OtherPaymentDetail. Last four digits of the card
Returns: The last_digits of this OtherPaymentDetail. Return type: str
-
name_on_card
¶ Gets the name_on_card of this OtherPaymentDetail. Name on the echeck card
Returns: The name_on_card of this OtherPaymentDetail. 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 OtherPaymentDetail. Expired date of the echeck card
Returns: The time_expiration of this OtherPaymentDetail. 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
-