C# Class Zuora.Services.PaymentManager

Afficher le fichier Open project: zuorasc/c-sharp-quickstart Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

ApplyPaymentToInvoice() public méthode

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
Résultat ResponseHolder

ApplyPaymentToMultipleInvoices() public méthode

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
Résultat ResponseHolder

CancelCreditBalanceAdjustmentOnInvoice() public méthode

public CancelCreditBalanceAdjustmentOnInvoice ( String invoiceId ) : ResponseHolder
invoiceId String
Résultat ResponseHolder

CreateMD5Hash() public méthode

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

DecreaseCreditBalance() public méthode

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
Résultat ResponseHolder

EncodeTo64() public méthode

Encode string to Base64
public EncodeTo64 ( String toEncode ) : String
toEncode String
Résultat String

GenerateIframeUrl() public méthode

public GenerateIframeUrl ( String pageId, String tenantId, String apiSecurityKey, String appUrl ) : String
pageId String
tenantId String
apiSecurityKey String
appUrl String
Résultat String

IncreaseCreditBalance() public méthode

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

PaymentManager() public méthode

public PaymentManager ( ZuoraService zs ) : System
zs ZuoraService
Résultat System

RefundElectronicPayment() public méthode

Refund an electronic payment
public RefundElectronicPayment ( String paymentId, Decimal amount ) : ResponseHolder
paymentId String
amount Decimal
Résultat ResponseHolder

RefundExternalPayment() public méthode

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
Résultat ResponseHolder