C# Класс ZuoraSignUp.ZuoraInterface

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ENDPOINT string
PASSWORD string
USERNAME string

Защищенные свойства (Protected)

Свойство Тип Описание
binding ZuoraWebRole.zuora.ZuoraService

Открытые методы

Метод Описание
ZuoraInterface ( ) : System
ZuoraInterface ( String username, String password, String endpoint ) : System
createMessage ( SubscribeResult result ) : String
isValidId ( string id ) : System.Boolean
queryChargeByAccountingCode ( String accountingCode ) : ProductRatePlanCharge
queryChargeById ( String id ) : ProductRatePlanCharge
queryChargesByProductRatePlan ( String prpId ) : ProductRatePlanCharge[]
queryProducts ( ) : Product[]
queryRatePlansByProduct ( String productId ) : ProductRatePlan[]

Защищенные методы

Метод Описание
create ( zObject acc ) : string
delete ( String type, string id ) : bool
login ( String username, String password ) : bool
makeAccount ( string Name, string CurrencyIso ) : Account
makeContact ( string FirstName, string LastName, string WorkEmail, string WorkPhone, string Address1, string Address2, string City, string State, string Country, string PostalCode ) : Contact
makePaymentMethod ( string HolderName, string Address, string City, string State, string Country, string PostalCode, string CreditCardType, string CreditCardNumber, int CreditCardExpirationMonth, int CreditCardExpirationYear ) : PaymentMethod
makeRatePlanData ( ProductRatePlanCharge charges ) : RatePlanData[]
makeSubscription ( String subscriptionName, String subscriptionNotes ) : Subscription
print ( string p ) : void
queryAccount ( string accId ) : Account
update ( zObject acc ) : string

Приватные методы

Метод Описание
subscribe ( String SubscriptionName, ProductRatePlanCharge charges, string Name, string FirstName, string LastName, string WorkEmail, string WorkPhone, string Address1, string Address2, string City, string State, string Country, string PostalCode, string CreditCardType, string CreditCardNumber, string CreditCardHolderName, int CreditCardExpirationMonth, int CreditCardExpirationYear ) : SubscribeResult

Описание методов

ZuoraInterface() публичный Метод

public ZuoraInterface ( ) : System
Результат System

ZuoraInterface() публичный Метод

public ZuoraInterface ( String username, String password, String endpoint ) : System
username String
password String
endpoint String
Результат System

create() защищенный Метод

protected create ( zObject acc ) : string
acc zObject
Результат string

createMessage() публичный статический Метод

public static createMessage ( SubscribeResult result ) : String
result SubscribeResult
Результат String

delete() защищенный Метод

protected delete ( String type, string id ) : bool
type String
id string
Результат bool

isValidId() публичный статический Метод

public static isValidId ( string id ) : System.Boolean
id string
Результат System.Boolean

login() защищенный Метод

protected login ( String username, String password ) : bool
username String
password String
Результат bool

makeAccount() защищенный Метод

protected makeAccount ( string Name, string CurrencyIso ) : Account
Name string
CurrencyIso string
Результат Account

makeContact() защищенный Метод

protected makeContact ( string FirstName, string LastName, string WorkEmail, string WorkPhone, string Address1, string Address2, string City, string State, string Country, string PostalCode ) : Contact
FirstName string
LastName string
WorkEmail string
WorkPhone string
Address1 string
Address2 string
City string
State string
Country string
PostalCode string
Результат Contact

makePaymentMethod() защищенный Метод

protected makePaymentMethod ( string HolderName, string Address, string City, string State, string Country, string PostalCode, string CreditCardType, string CreditCardNumber, int CreditCardExpirationMonth, int CreditCardExpirationYear ) : PaymentMethod
HolderName string
Address string
City string
State string
Country string
PostalCode string
CreditCardType string
CreditCardNumber string
CreditCardExpirationMonth int
CreditCardExpirationYear int
Результат PaymentMethod

makeRatePlanData() защищенный Метод

protected makeRatePlanData ( ProductRatePlanCharge charges ) : RatePlanData[]
charges ProductRatePlanCharge
Результат RatePlanData[]

makeSubscription() защищенный Метод

protected makeSubscription ( String subscriptionName, String subscriptionNotes ) : Subscription
subscriptionName String
subscriptionNotes String
Результат Subscription

print() защищенный Метод

protected print ( string p ) : void
p string
Результат void

queryAccount() защищенный Метод

protected queryAccount ( string accId ) : Account
accId string
Результат Account

queryChargeByAccountingCode() публичный Метод

public queryChargeByAccountingCode ( String accountingCode ) : ProductRatePlanCharge
accountingCode String
Результат ProductRatePlanCharge

queryChargeById() публичный Метод

public queryChargeById ( String id ) : ProductRatePlanCharge
id String
Результат ProductRatePlanCharge

queryChargesByProductRatePlan() публичный Метод

public queryChargesByProductRatePlan ( String prpId ) : ProductRatePlanCharge[]
prpId String
Результат ProductRatePlanCharge[]

queryProducts() публичный Метод

public queryProducts ( ) : Product[]
Результат Product[]

queryRatePlansByProduct() публичный Метод

public queryRatePlansByProduct ( String productId ) : ProductRatePlan[]
productId String
Результат ProductRatePlan[]

update() защищенный Метод

protected update ( zObject acc ) : string
acc zObject
Результат string

Описание свойств

ENDPOINT публичное статическое свойство

public static string ENDPOINT
Результат string

PASSWORD публичное статическое свойство

public static string PASSWORD
Результат string

USERNAME публичное статическое свойство

public static string USERNAME
Результат string

binding защищенное свойство

protected ZuoraService,ZuoraWebRole.zuora binding
Результат ZuoraWebRole.zuora.ZuoraService