C# Class PaysonIntegration.Data.PayData

ファイルを表示 Open project: PaysonAktiebolag/api-integration-dotnet Class Usage Examples

Public Methods

Method Description
AsNvpDictionary ( ) : string>.IDictionary
PayData ( string returnUrl, string cancelUrl, string memo, Sender sender, List receivers ) : System

The arguments are the required parameters

SetCurrencyCode ( string currencyCode ) : void
SetCustom ( string custom ) : void
SetFundingConstraints ( List fundingConstraints ) : void
SetInvoiceFee ( decimal amount ) : void
SetIpnNotificationUrl ( string ipnNotificationUrl ) : void
SetLocaleCode ( string localeCode ) : void
SetOrderItems ( List orderItems ) : void
SetTrackingId ( string trackingId ) : void

Private Methods

Method Description
FormatDecimal ( decimal d, int numberOfDecimals = 2 ) : string
SetCancelUrl ( string cancelUrl ) : void
SetMemo ( string memo ) : void
SetReceivers ( List receivers ) : void
SetReturnUrl ( string returnUrl ) : void
SetSender ( Sender sender ) : void

Method Details

AsNvpDictionary() public method

public AsNvpDictionary ( ) : string>.IDictionary
return string>.IDictionary

PayData() public method

The arguments are the required parameters
public PayData ( string returnUrl, string cancelUrl, string memo, Sender sender, List receivers ) : System
returnUrl string
cancelUrl string
memo string
sender PaysonIntegration.Utils.Sender
receivers List
return System

SetCurrencyCode() public method

public SetCurrencyCode ( string currencyCode ) : void
currencyCode string
return void

SetCustom() public method

public SetCustom ( string custom ) : void
custom string
return void

SetFundingConstraints() public method

public SetFundingConstraints ( List fundingConstraints ) : void
fundingConstraints List
return void

SetInvoiceFee() public method

public SetInvoiceFee ( decimal amount ) : void
amount decimal
return void

SetIpnNotificationUrl() public method

public SetIpnNotificationUrl ( string ipnNotificationUrl ) : void
ipnNotificationUrl string
return void

SetLocaleCode() public method

public SetLocaleCode ( string localeCode ) : void
localeCode string
return void

SetOrderItems() public method

public SetOrderItems ( List orderItems ) : void
orderItems List
return void

SetTrackingId() public method

public SetTrackingId ( string trackingId ) : void
trackingId string
return void