C# Class Xsolla.CCPayment

Inheritance: XsollaPaymentImpl
Show file Open project: xsolla/xsolla-unity-sdk Class Usage Examples

Public Properties

Property Type Description
_cardCvv string
_cardExpMonth string
_cardExpYear string
_cardHolder string
_cardNumber string
_cardZip string

Public Methods

Method Description
CCPayment ( ) : System.Collections
CCPayment ( string accessToken, string cardNumber, string cardExpMonth, string cardExpYear, string cardCvv, string cardZip, string cardHolder ) : System.Collections
InitPaystation ( ) : void
OnErrorReceived ( XsollaError error ) : void
OnFormReceived ( XsollaForm form ) : void
OnStatusReceived ( XsollaStatus status ) : void
SetParams ( string cardNumber, string cardExpMonth, string cardExpYear, string cardCvv, string cardZip, string cardHolder ) : void

Protected Methods

Method Description
OnNextStepRecieved ( XsollaForm form ) : void
OnPaymentSuccessRecieved ( XsollaStatus status ) : void

Method Details

CCPayment() public method

public CCPayment ( ) : System.Collections
return System.Collections

CCPayment() public method

public CCPayment ( string accessToken, string cardNumber, string cardExpMonth, string cardExpYear, string cardCvv, string cardZip, string cardHolder ) : System.Collections
accessToken string
cardNumber string
cardExpMonth string
cardExpYear string
cardCvv string
cardZip string
cardHolder string
return System.Collections

InitPaystation() public method

public InitPaystation ( ) : void
return void

OnErrorReceived() public method

public OnErrorReceived ( XsollaError error ) : void
error XsollaError
return void

OnFormReceived() public method

public OnFormReceived ( XsollaForm form ) : void
form XsollaForm
return void

OnNextStepRecieved() protected method

protected OnNextStepRecieved ( XsollaForm form ) : void
form XsollaForm
return void

OnPaymentSuccessRecieved() protected method

protected OnPaymentSuccessRecieved ( XsollaStatus status ) : void
status XsollaStatus
return void

OnStatusReceived() public method

public OnStatusReceived ( XsollaStatus status ) : void
status XsollaStatus
return void

SetParams() public method

public SetParams ( string cardNumber, string cardExpMonth, string cardExpYear, string cardCvv, string cardZip, string cardHolder ) : void
cardNumber string
cardExpMonth string
cardExpYear string
cardCvv string
cardZip string
cardHolder string
return void

Property Details

_cardCvv public property

public string _cardCvv
return string

_cardExpMonth public property

public string _cardExpMonth
return string

_cardExpYear public property

public string _cardExpYear
return string

_cardHolder public property

public string _cardHolder
return string

_cardNumber public property

public string _cardNumber
return string

_cardZip public property

public string _cardZip
return string