EcheckPaymentDetail

class oci.osp_gateway.models.EcheckPaymentDetail(**kwargs)

Bases: PaymentDetail

Echeck Payment related details

Attributes:

CARD_TYPE_CHECKING

A constant which can be used with the card_type property of a EcheckPaymentDetail.

CARD_TYPE_CORPORATE_CHECKING

A constant which can be used with the card_type property of a EcheckPaymentDetail.

CARD_TYPE_SAVING

A constant which can be used with the card_type property of a EcheckPaymentDetail.

PAYMENT_METHOD_CREDIT_CARD

A constant which can be used with the payment_method property of a PaymentDetail.

PAYMENT_METHOD_ECHECK

A constant which can be used with the payment_method property of a PaymentDetail.

PAYMENT_METHOD_OTHER

A constant which can be used with the payment_method property of a PaymentDetail.

PAYMENT_METHOD_PAYPAL

A constant which can be used with the payment_method property of a PaymentDetail.

account_number

Gets the account_number of this EcheckPaymentDetail.

amount_paid

Gets the amount_paid of this PaymentDetail.

card_type

Gets the card_type of this EcheckPaymentDetail.

name_on_card

Gets the name_on_card of this EcheckPaymentDetail.

paid_by

Gets the paid_by of this PaymentDetail.

payment_method

[Required] Gets the payment_method of this PaymentDetail.

routing_number

Gets the routing_number of this EcheckPaymentDetail.

time_paid_on

Gets the time_paid_on of this PaymentDetail.

Methods:

__init__(**kwargs)

Initializes a new EcheckPaymentDetail 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.

CARD_TYPE_CHECKING = 'CHECKING'

A constant which can be used with the card_type property of a EcheckPaymentDetail. This constant has a value of “CHECKING”

CARD_TYPE_CORPORATE_CHECKING = 'CORPORATE_CHECKING'

A constant which can be used with the card_type property of a EcheckPaymentDetail. This constant has a value of “CORPORATE_CHECKING”

CARD_TYPE_SAVING = 'SAVING'

A constant which can be used with the card_type property of a EcheckPaymentDetail. This constant has a value of “SAVING”

PAYMENT_METHOD_CREDIT_CARD = 'CREDIT_CARD'

A constant which can be used with the payment_method property of a PaymentDetail. This constant has a value of “CREDIT_CARD”

PAYMENT_METHOD_ECHECK = 'ECHECK'

A constant which can be used with the payment_method property of a PaymentDetail. This constant has a value of “ECHECK”

PAYMENT_METHOD_OTHER = 'OTHER'

A constant which can be used with the payment_method property of a PaymentDetail. This constant has a value of “OTHER”

PAYMENT_METHOD_PAYPAL = 'PAYPAL'

A constant which can be used with the payment_method property of a PaymentDetail. This constant has a value of “PAYPAL”

__init__(**kwargs)

Initializes a new EcheckPaymentDetail object with values from keyword arguments. The default value of the payment_method attribute of this class is ECHECK 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 EcheckPaymentDetail.

  • paid_by (str) – The value to assign to the paid_by property of this EcheckPaymentDetail.

  • payment_method (str) – The value to assign to the payment_method property of this EcheckPaymentDetail. 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 EcheckPaymentDetail.

  • name_on_card (str) – The value to assign to the name_on_card property of this EcheckPaymentDetail.

  • card_type (str) – The value to assign to the card_type property of this EcheckPaymentDetail. Allowed values for this property are: “SAVING”, “CHECKING”, “CORPORATE_CHECKING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • account_number (str) – The value to assign to the account_number property of this EcheckPaymentDetail.

  • routing_number (str) – The value to assign to the routing_number property of this EcheckPaymentDetail.

property account_number

Gets the account_number of this EcheckPaymentDetail. Account number of the card owner

Returns

The account_number of this EcheckPaymentDetail.

Return type

str

property amount_paid

Gets the amount_paid of this PaymentDetail. Amount that paid

Returns

The amount_paid of this PaymentDetail.

Return type

float

property card_type

Gets the card_type of this EcheckPaymentDetail. Echeck card type

Allowed values for this property are: “SAVING”, “CHECKING”, “CORPORATE_CHECKING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The card_type of this EcheckPaymentDetail.

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 name_on_card

Gets the name_on_card of this EcheckPaymentDetail. Name on the echeck card

Returns

The name_on_card of this EcheckPaymentDetail.

Return type

str

property paid_by

Gets the paid_by of this PaymentDetail. example

Returns

The paid_by of this PaymentDetail.

Return type

str

property 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

property routing_number

Gets the routing_number of this EcheckPaymentDetail. Routing number of the echeck card

Returns

The routing_number of this EcheckPaymentDetail.

Return type

str

property 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