PaymentMethod Class |
Namespace: NetQuarry.Services.Payment
The PaymentMethod type exposes the following members.
Name | Description | |
---|---|---|
![]() | PaymentMethod | Initializes a new instance of the PaymentMethod class |
Name | Description | |
---|---|---|
![]() | billing_address_id |
The billing address id from braintree
|
![]() | card_number |
The credit card number, without formatting. This number is transitory and not stored in the database,
but only transmitted to Braintree to be authenticated and stored in the Braintree vault.
|
![]() | card_type |
Credit card type as returned by Braintree
|
![]() | city |
The Payment Method's city.
|
![]() | customer_id |
The customer ID
|
![]() | customer_nm |
The customer name
|
![]() | customer_phone |
The customer phone number
|
![]() | cvv2 |
The credit card CVV. This number is transitory and not stored in the database,
but only transmitted to Braintree to be authenticated and stored in the Braintree vault.
|
![]() | expires |
The payment method expiration date.
|
![]() | expires_month |
Month that the card expires. 1 == Jan.
|
![]() | expires_year |
Year that the card expires. Should be 4 digits. (2018)
|
![]() | first_nm |
The owner's first name.
|
![]() | is_active |
Specifies whether or not this payment method is currently active.
|
![]() | is_default |
Specifies whether or not this payment method is the owner's default payment method.
|
![]() | last_nm |
The owner's last name.
|
![]() | last4 |
Card last 4 digits
|
![]() | nonce |
The Braintree one-time nonce used to authenticate and register the payment method with Braintree.
|
![]() | payment_method_id |
The primary key for the payment method.
|
![]() | payment_method_nm |
The user-provided nickname for the payment method.
|
![]() | payment_token |
Token from braintree to store in order to retrieve the payment information later.
|
![]() | postal_code |
The owner's postal code.
|
![]() | state |
The Payment Method's state.
|
![]() | street_address |
The Payment Method's street address.
|
![]() | street_address_2 |
The Payment Method's secondary street address (eg. Suite #, Apartment #).
|
![]() | transaction_id |
The ID of the Braintree transaction used to authenticate and register the payment method with Braintree.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |