C# Class Riskified.SDK.Model.OrderElements.CreditCardPaymentDetails

Inheritance: IPaymentDetails
Show file Open project: Riskified/sdk_net Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CreditCardPaymentDetails ( string avsResultCode, string cvvResultCode, string creditCardBin, string creditCardCompany, string creditCardNumber, string creditCardToken = null ) : Newtonsoft.Json

The payment information for the order

Validate ( Validations validationType = Validations.Weak ) : void

Validates the objects fields content

Method Details

CreditCardPaymentDetails() public method

The payment information for the order
public CreditCardPaymentDetails ( string avsResultCode, string cvvResultCode, string creditCardBin, string creditCardCompany, string creditCardNumber, string creditCardToken = null ) : Newtonsoft.Json
avsResultCode string The Response code from AVS the address verification system. The code is a single letter
cvvResultCode string The Response code from the credit card company indicating whether the customer entered the card security code, a.k.a. card verification value, correctly. The code is a single letter or empty string
creditCardBin string The issuer identification number (IIN), formerly known as bank identification number (BIN) ] of the customer's credit card. This is made up of the first few digits of the credit card number
creditCardCompany string The name of the company who issued the customer's credit card
creditCardNumber string The 4 last digits of the customer's credit card number, with most of the leading digits redacted with Xs
creditCardToken string
return Newtonsoft.Json

Validate() public method

Validates the objects fields content
throws an exception if one of the parameters doesn't match the expected format
public Validate ( Validations validationType = Validations.Weak ) : void
validationType Validations
return void