C# 클래스 Zuora.Services.AccountManager

파일 보기 프로젝트 열기: zuorasc/c-sharp-quickstart 1 사용 예제들

공개 메소드들

메소드 설명
AccountManager ( ZuoraService zs ) : System
ChangeInvoiceTemplate ( String accountId, String templateId ) : ResponseHolder

Change the invoice template id for an account

CreateAccount ( Account acc, Contact con ) : ResponseHolder
CreateChildAccountAndIncreaseCreditBalance ( Account acc, String parentAccountId, Contact con, Decimal amount ) : ResponseHolder

Create a child account, set the parent id, create the contact, update the account and increase the credit balance

DeletePaymentMethod ( String paymentMethodId ) : List

Delete Payment Method

DoesAccountNameExistInZuora ( String name ) : System.Boolean
GetAccount ( String accountId ) : ResponseHolder

Get Account information based on accountId

GetChildAccount ( String parentAccountId ) : ResponseHolder

Return the child account of a parent given the parents id

GetContact ( String accountId ) : ResponseHolder

Get Contacts based on accountId

GetCreditBalanceAdjustmentsForAccount ( String accountId ) : ResponseHolder

Get Credit balance based on accountId

GetCreditCardsForAccount ( String parentAccountId ) : ResponseHolder

Get Credit Card based on parent account id, only the parent account will have Credit Cards

GetCreditCardsPaymentMethods ( String accountId ) : ResponseHolder

Get Credit Cards based on accountId

GetInvoicePDFForAccount ( String invoiceId ) : ResponseHolder

Get the pdf version for an invoice

GetInvoicesForAccount ( String accountId ) : ResponseHolder

Get the invoices for an account based on accountId

GetPOForAccount ( String parentAccountId ) : String

Get P.O. on file, only the parent account will have Credit Cards

GetRefundsForAccount ( String accountId ) : ResponseHolder

Get Refunds based on accountId

GetSingleInvoice ( String invoiceId ) : ResponseHolder

Get a single invoice and Base64 encoded pdf body

SetParentAccount ( String parentId, String accountId ) : ResponseHolder

Set the parent account of an account

UpdateContact ( String accountId, String lastName, String firstName, String address, String city, String state, String postalCode, String country ) : ResponseHolder

Upade Contact on account

메소드 상세

AccountManager() 공개 메소드

public AccountManager ( ZuoraService zs ) : System
zs ZuoraService
리턴 System

ChangeInvoiceTemplate() 공개 메소드

Change the invoice template id for an account
public ChangeInvoiceTemplate ( String accountId, String templateId ) : ResponseHolder
accountId String
templateId String
리턴 ResponseHolder

CreateAccount() 공개 메소드

public CreateAccount ( Account acc, Contact con ) : ResponseHolder
acc Account
con Contact
리턴 ResponseHolder

CreateChildAccountAndIncreaseCreditBalance() 공개 메소드

Create a child account, set the parent id, create the contact, update the account and increase the credit balance
public CreateChildAccountAndIncreaseCreditBalance ( Account acc, String parentAccountId, Contact con, Decimal amount ) : ResponseHolder
acc Account
parentAccountId String
con Contact
amount Decimal
리턴 ResponseHolder

DeletePaymentMethod() 공개 메소드

Delete Payment Method
public DeletePaymentMethod ( String paymentMethodId ) : List
paymentMethodId String
리턴 List

DoesAccountNameExistInZuora() 공개 메소드

public DoesAccountNameExistInZuora ( String name ) : System.Boolean
name String
리턴 System.Boolean

GetAccount() 공개 메소드

Get Account information based on accountId
public GetAccount ( String accountId ) : ResponseHolder
accountId String
리턴 ResponseHolder

GetChildAccount() 공개 메소드

Return the child account of a parent given the parents id
public GetChildAccount ( String parentAccountId ) : ResponseHolder
parentAccountId String
리턴 ResponseHolder

GetContact() 공개 메소드

Get Contacts based on accountId
public GetContact ( String accountId ) : ResponseHolder
accountId String
리턴 ResponseHolder

GetCreditBalanceAdjustmentsForAccount() 공개 메소드

Get Credit balance based on accountId
public GetCreditBalanceAdjustmentsForAccount ( String accountId ) : ResponseHolder
accountId String
리턴 ResponseHolder

GetCreditCardsForAccount() 공개 메소드

Get Credit Card based on parent account id, only the parent account will have Credit Cards
public GetCreditCardsForAccount ( String parentAccountId ) : ResponseHolder
parentAccountId String
리턴 ResponseHolder

GetCreditCardsPaymentMethods() 공개 메소드

Get Credit Cards based on accountId
public GetCreditCardsPaymentMethods ( String accountId ) : ResponseHolder
accountId String
리턴 ResponseHolder

GetInvoicePDFForAccount() 공개 메소드

Get the pdf version for an invoice
public GetInvoicePDFForAccount ( String invoiceId ) : ResponseHolder
invoiceId String
리턴 ResponseHolder

GetInvoicesForAccount() 공개 메소드

Get the invoices for an account based on accountId
public GetInvoicesForAccount ( String accountId ) : ResponseHolder
accountId String
리턴 ResponseHolder

GetPOForAccount() 공개 메소드

Get P.O. on file, only the parent account will have Credit Cards
public GetPOForAccount ( String parentAccountId ) : String
parentAccountId String
리턴 String

GetRefundsForAccount() 공개 메소드

Get Refunds based on accountId
public GetRefundsForAccount ( String accountId ) : ResponseHolder
accountId String
리턴 ResponseHolder

GetSingleInvoice() 공개 메소드

Get a single invoice and Base64 encoded pdf body
public GetSingleInvoice ( String invoiceId ) : ResponseHolder
invoiceId String
리턴 ResponseHolder

SetParentAccount() 공개 메소드

Set the parent account of an account
public SetParentAccount ( String parentId, String accountId ) : ResponseHolder
parentId String
accountId String
리턴 ResponseHolder

UpdateContact() 공개 메소드

Upade Contact on account
public UpdateContact ( String accountId, String lastName, String firstName, String address, String city, String state, String postalCode, String country ) : ResponseHolder
accountId String
lastName String
firstName String
address String
city String
state String
postalCode String
country String
리턴 ResponseHolder