C# Class Zuora.Services.PaymentManager

ファイルを表示 Open project: zuorasc/c-sharp-quickstart Class Usage Examples

Public Methods

Method Description
ApplyCreditBalanceToInvoice ( String invoiceId, Decimal amount ) : ResponseHolder

Apply credit balance to an invoice

ApplyPaymentToInvoice ( String accountId, String invoiceId, String paymentMethodId, Decimal amount, String type ) : ResponseHolder

Pay an invoice with an external payment

ApplyPaymentToMultipleInvoices ( String accountId, String invoiceIds, String paymentMethodId, Decimal amount, String type ) : ResponseHolder

Applies a single payment to multiple invoices

CancelCreditBalanceAdjustmentOnInvoice ( String invoiceId ) : ResponseHolder
CreateMD5Hash ( String RawData ) : String

Take string convert it to UTF8 then genrate MD5 Hash then Convert to Base 16

DecreaseCreditBalance ( String accountId, Decimal amount ) : ResponseHolder

Decrease credit balance for an account by an amount by creating an external refund

EncodeTo64 ( String toEncode ) : String

Encode string to Base64

GenerateIframeUrl ( String pageId, String tenantId, String apiSecurityKey, String appUrl ) : String
IncreaseCreditBalance ( String accountId, Decimal amount ) : ResponseHolder

Increase the credit balance of an account by an amount

PaymentManager ( ZuoraService zs ) : System
RefundElectronicPayment ( String paymentId, Decimal amount ) : ResponseHolder

Refund an electronic payment

RefundExternalPayment ( String paymentId, Decimal amount, String methodType, System.DateTime refundDate ) : ResponseHolder

Refund an external payment

Method Details

ApplyCreditBalanceToInvoice() public method

Apply credit balance to an invoice
public ApplyCreditBalanceToInvoice ( String invoiceId, Decimal amount ) : ResponseHolder
invoiceId String
amount Decimal
return ResponseHolder

ApplyPaymentToInvoice() public method

Pay an invoice with an external payment
public ApplyPaymentToInvoice ( String accountId, String invoiceId, String paymentMethodId, Decimal amount, String type ) : ResponseHolder
accountId String
invoiceId String
paymentMethodId String
amount Decimal
type String
return ResponseHolder

ApplyPaymentToMultipleInvoices() public method

Applies a single payment to multiple invoices
public ApplyPaymentToMultipleInvoices ( String accountId, String invoiceIds, String paymentMethodId, Decimal amount, String type ) : ResponseHolder
accountId String
invoiceIds String
paymentMethodId String
amount Decimal
type String
return ResponseHolder

CancelCreditBalanceAdjustmentOnInvoice() public method

public CancelCreditBalanceAdjustmentOnInvoice ( String invoiceId ) : ResponseHolder
invoiceId String
return ResponseHolder

CreateMD5Hash() public method

Take string convert it to UTF8 then genrate MD5 Hash then Convert to Base 16
public CreateMD5Hash ( String RawData ) : String
RawData String
return String

DecreaseCreditBalance() public method

Decrease credit balance for an account by an amount by creating an external refund
public DecreaseCreditBalance ( String accountId, Decimal amount ) : ResponseHolder
accountId String
amount Decimal
return ResponseHolder

EncodeTo64() public method

Encode string to Base64
public EncodeTo64 ( String toEncode ) : String
toEncode String
return String

GenerateIframeUrl() public method

public GenerateIframeUrl ( String pageId, String tenantId, String apiSecurityKey, String appUrl ) : String
pageId String
tenantId String
apiSecurityKey String
appUrl String
return String

IncreaseCreditBalance() public method

Increase the credit balance of an account by an amount
public IncreaseCreditBalance ( String accountId, Decimal amount ) : ResponseHolder
accountId String
amount Decimal
return ResponseHolder

PaymentManager() public method

public PaymentManager ( ZuoraService zs ) : System
zs ZuoraService
return System

RefundElectronicPayment() public method

Refund an electronic payment
public RefundElectronicPayment ( String paymentId, Decimal amount ) : ResponseHolder
paymentId String
amount Decimal
return ResponseHolder

RefundExternalPayment() public method

Refund an external payment
public RefundExternalPayment ( String paymentId, Decimal amount, String methodType, System.DateTime refundDate ) : ResponseHolder
paymentId String
amount Decimal
methodType String
refundDate System.DateTime
return ResponseHolder