DocuSign CSharp Docs
Public Member Functions | Properties | List of all members
DocuSign.eSign.Model.CreditCardInformation Class Reference

This object contains information about a credit card that is associated with an account. More...

Inheritance diagram for DocuSign.eSign.Model.CreditCardInformation:

Public Member Functions

 CreditCardInformation (AddressInformation Address=default(AddressInformation), string CardLastDigits=default(string), string CardNumber=default(string), string CardType=default(string), string CvNumber=default(string), string ExpirationMonth=default(string), string ExpirationYear=default(string), string NameOnCard=default(string), string TokenizedCard=default(string))
 Initializes a new instance of the CreditCardInformation class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object obj)
 Returns true if objects are equal More...
 
bool Equals (CreditCardInformation other)
 Returns true if CreditCardInformation instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
IEnumerable< ValidationResult > Validate (ValidationContext validationContext)
 

Properties

AddressInformation Address [get, set]
 A complex element containing the credit card billing address information. More...
 
string CardLastDigits [get, set]
 Gets or Sets CardLastDigits More...
 
string CardNumber [get, set]
 The number on the credit card. More...
 
string CardType [get, set]
 The credit card type. Valid values are: visa, mastercard, or amex. More...
 
string CvNumber [get, set]
 Gets or Sets CvNumber More...
 
string ExpirationMonth [get, set]
 The month that the credit card expires (1-12). More...
 
string ExpirationYear [get, set]
 The year 4 digit year in which the credit card expires. More...
 
string NameOnCard [get, set]
 The exact name printed on the credit card. More...
 
string TokenizedCard [get, set]
 Gets or Sets TokenizedCard More...
 

Detailed Description

This object contains information about a credit card that is associated with an account.

Constructor & Destructor Documentation

◆ CreditCardInformation()

DocuSign.eSign.Model.CreditCardInformation.CreditCardInformation ( AddressInformation  Address = default(AddressInformation),
string  CardLastDigits = default(string),
string  CardNumber = default(string),
string  CardType = default(string),
string  CvNumber = default(string),
string  ExpirationMonth = default(string),
string  ExpirationYear = default(string),
string  NameOnCard = default(string),
string  TokenizedCard = default(string) 
)
inline

Initializes a new instance of the CreditCardInformation class.

Parameters
AddressA complex element containing the credit card billing address information..
CardLastDigitsCardLastDigits.
CardNumberThe number on the credit card..
CardTypeThe credit card type. Valid values are: visa, mastercard, or amex..
CvNumberCvNumber.
ExpirationMonthThe month that the credit card expires (1-12)..
ExpirationYearThe year 4 digit year in which the credit card expires..
NameOnCardThe exact name printed on the credit card..
TokenizedCardTokenizedCard.

Member Function Documentation

◆ Equals() [1/2]

override bool DocuSign.eSign.Model.CreditCardInformation.Equals ( object  obj)
inline

Returns true if objects are equal

Parameters
objObject to be compared
Returns
Boolean

◆ Equals() [2/2]

bool DocuSign.eSign.Model.CreditCardInformation.Equals ( CreditCardInformation  other)
inline

Returns true if CreditCardInformation instances are equal

Parameters
otherInstance of CreditCardInformation to be compared
Returns
Boolean

◆ GetHashCode()

override int DocuSign.eSign.Model.CreditCardInformation.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

string DocuSign.eSign.Model.CreditCardInformation.ToJson ( )
inline

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string DocuSign.eSign.Model.CreditCardInformation.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Address

AddressInformation DocuSign.eSign.Model.CreditCardInformation.Address
getset

A complex element containing the credit card billing address information.

A complex element containing the credit card billing address information.

◆ CardLastDigits

string DocuSign.eSign.Model.CreditCardInformation.CardLastDigits
getset

Gets or Sets CardLastDigits

◆ CardNumber

string DocuSign.eSign.Model.CreditCardInformation.CardNumber
getset

The number on the credit card.

The number on the credit card.

◆ CardType

string DocuSign.eSign.Model.CreditCardInformation.CardType
getset

The credit card type. Valid values are: visa, mastercard, or amex.

The credit card type. Valid values are: visa, mastercard, or amex.

◆ CvNumber

string DocuSign.eSign.Model.CreditCardInformation.CvNumber
getset

Gets or Sets CvNumber

◆ ExpirationMonth

string DocuSign.eSign.Model.CreditCardInformation.ExpirationMonth
getset

The month that the credit card expires (1-12).

The month that the credit card expires (1-12).

◆ ExpirationYear

string DocuSign.eSign.Model.CreditCardInformation.ExpirationYear
getset

The year 4 digit year in which the credit card expires.

The year 4 digit year in which the credit card expires.

◆ NameOnCard

string DocuSign.eSign.Model.CreditCardInformation.NameOnCard
getset

The exact name printed on the credit card.

The exact name printed on the credit card.

◆ TokenizedCard

string DocuSign.eSign.Model.CreditCardInformation.TokenizedCard
getset

Gets or Sets TokenizedCard


The documentation for this class was generated from the following file: