C# 클래스 Moolah.DataCash.DataCashRequestBuilderBase

파일 보기 프로젝트 열기: davidduffett/Moolah

공개 메소드들

메소드 설명
DataCashRequestBuilderBase ( Moolah.DataCash.DataCashConfiguration configuration ) : System
GetDocument ( ) : System.Xml.Linq.XDocument

보호된 메소드들

메소드 설명
CardElement ( CardDetails card, Moolah.DataCash.BillingAddress billingAddress ) : System.Xml.Linq.XElement
CardTxnElement ( CardDetails card, Moolah.DataCash.BillingAddress billingAddress ) : System.Xml.Linq.XElement
Cv2AvsElement ( CardDetails card, Moolah.DataCash.BillingAddress billingAddress ) : System.Xml.Linq.XElement
TxnDetailsElement ( string merchantReference, decimal amount, string currencyCode ) : System.Xml.Linq.XElement

비공개 메소드들

메소드 설명
authenticationElement ( ) : System.Xml.Linq.XElement
formatPostcode ( string postcode ) : string

Postcodes sent to DataCash must be "A maximum of 9 alphanumeric characters."

numericPartsOfAddress ( Moolah.DataCash.BillingAddress billingAddress ) : string

AVS checks strip out all non-numeric characters from addresses. The DataCash specification clearly states that we can do this ourselves before sending the address to them.

requestElement ( ) : System.Xml.Linq.XElement
transactionElement ( ) : System.Xml.Linq.XElement

메소드 상세

CardElement() 보호된 메소드

protected CardElement ( CardDetails card, Moolah.DataCash.BillingAddress billingAddress ) : System.Xml.Linq.XElement
card CardDetails
billingAddress Moolah.DataCash.BillingAddress
리턴 System.Xml.Linq.XElement

CardTxnElement() 보호된 메소드

protected CardTxnElement ( CardDetails card, Moolah.DataCash.BillingAddress billingAddress ) : System.Xml.Linq.XElement
card CardDetails
billingAddress Moolah.DataCash.BillingAddress
리턴 System.Xml.Linq.XElement

Cv2AvsElement() 보호된 메소드

protected Cv2AvsElement ( CardDetails card, Moolah.DataCash.BillingAddress billingAddress ) : System.Xml.Linq.XElement
card CardDetails
billingAddress Moolah.DataCash.BillingAddress
리턴 System.Xml.Linq.XElement

DataCashRequestBuilderBase() 공개 메소드

public DataCashRequestBuilderBase ( Moolah.DataCash.DataCashConfiguration configuration ) : System
configuration Moolah.DataCash.DataCashConfiguration
리턴 System

GetDocument() 공개 메소드

public GetDocument ( ) : System.Xml.Linq.XDocument
리턴 System.Xml.Linq.XDocument

TxnDetailsElement() 보호된 메소드

protected TxnDetailsElement ( string merchantReference, decimal amount, string currencyCode ) : System.Xml.Linq.XElement
merchantReference string
amount decimal
currencyCode string
리턴 System.Xml.Linq.XElement