Click or drag to resize

PaymentMethod Class

PaymentMethod object to pass information to create a payment method.
Inheritance Hierarchy
SystemObject
  NetQuarry.Services.PaymentPaymentMethod

Namespace:  NetQuarry.Services.Payment
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[SerializableAttribute]
public class PaymentMethod

The PaymentMethod type exposes the following members.

Constructors
  NameDescription
Public methodPaymentMethod
Initializes a new instance of the PaymentMethod class
Top
Properties
  NameDescription
Public propertybilling_address_id
The billing address id from braintree
Public propertycard_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.
Public propertycard_type
Credit card type as returned by Braintree
Public propertycity
The Payment Method's city.
Public propertycustomer_id
The customer ID
Public propertycustomer_nm
The customer name
Public propertycustomer_phone
The customer phone number
Public propertycvv2
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.
Public propertyexpires
The payment method expiration date.
Public propertyexpires_month
Month that the card expires. 1 == Jan.
Public propertyexpires_year
Year that the card expires. Should be 4 digits. (2018)
Public propertyfirst_nm
The owner's first name.
Public propertyis_active
Specifies whether or not this payment method is currently active.
Public propertyis_default
Specifies whether or not this payment method is the owner's default payment method.
Public propertylast_nm
The owner's last name.
Public propertylast4
Card last 4 digits
Public propertynonce
The Braintree one-time nonce used to authenticate and register the payment method with Braintree.
Public propertypayment_method_id
The primary key for the payment method.
Public propertypayment_method_nm
The user-provided nickname for the payment method.
Public propertypayment_token
Token from braintree to store in order to retrieve the payment information later.
Public propertypostal_code
The owner's postal code.
Public propertystate
The Payment Method's state.
Public propertystreet_address
The Payment Method's street address.
Public propertystreet_address_2
The Payment Method's secondary street address (eg. Suite #, Apartment #).
Public propertytransaction_id
The ID of the Braintree transaction used to authenticate and register the payment method with Braintree.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
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.)
Top
See Also