C# Class Zuora.Services.AccountManager

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

Méthodes publiques

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

Method Details

AccountManager() public méthode

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

ChangeInvoiceTemplate() public méthode

Change the invoice template id for an account
public ChangeInvoiceTemplate ( String accountId, String templateId ) : ResponseHolder
accountId String
templateId String
Résultat ResponseHolder

CreateAccount() public méthode

public CreateAccount ( Account acc, Contact con ) : ResponseHolder
acc Account
con Contact
Résultat ResponseHolder

CreateChildAccountAndIncreaseCreditBalance() public méthode

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

DeletePaymentMethod() public méthode

Delete Payment Method
public DeletePaymentMethod ( String paymentMethodId ) : List
paymentMethodId String
Résultat List

DoesAccountNameExistInZuora() public méthode

public DoesAccountNameExistInZuora ( String name ) : System.Boolean
name String
Résultat System.Boolean

GetAccount() public méthode

Get Account information based on accountId
public GetAccount ( String accountId ) : ResponseHolder
accountId String
Résultat ResponseHolder

GetChildAccount() public méthode

Return the child account of a parent given the parents id
public GetChildAccount ( String parentAccountId ) : ResponseHolder
parentAccountId String
Résultat ResponseHolder

GetContact() public méthode

Get Contacts based on accountId
public GetContact ( String accountId ) : ResponseHolder
accountId String
Résultat ResponseHolder

GetCreditBalanceAdjustmentsForAccount() public méthode

Get Credit balance based on accountId
public GetCreditBalanceAdjustmentsForAccount ( String accountId ) : ResponseHolder
accountId String
Résultat ResponseHolder

GetCreditCardsForAccount() public méthode

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

GetCreditCardsPaymentMethods() public méthode

Get Credit Cards based on accountId
public GetCreditCardsPaymentMethods ( String accountId ) : ResponseHolder
accountId String
Résultat ResponseHolder

GetInvoicePDFForAccount() public méthode

Get the pdf version for an invoice
public GetInvoicePDFForAccount ( String invoiceId ) : ResponseHolder
invoiceId String
Résultat ResponseHolder

GetInvoicesForAccount() public méthode

Get the invoices for an account based on accountId
public GetInvoicesForAccount ( String accountId ) : ResponseHolder
accountId String
Résultat ResponseHolder

GetPOForAccount() public méthode

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

GetRefundsForAccount() public méthode

Get Refunds based on accountId
public GetRefundsForAccount ( String accountId ) : ResponseHolder
accountId String
Résultat ResponseHolder

GetSingleInvoice() public méthode

Get a single invoice and Base64 encoded pdf body
public GetSingleInvoice ( String invoiceId ) : ResponseHolder
invoiceId String
Résultat ResponseHolder

SetParentAccount() public méthode

Set the parent account of an account
public SetParentAccount ( String parentId, String accountId ) : ResponseHolder
parentId String
accountId String
Résultat ResponseHolder

UpdateContact() public méthode

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