C# Class Zuora.Services.Tests.ZuoraTestHelper

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

Public Methods

Method Description
AddToCleanup ( String id, String type ) : void
CleanUp ( ) : void
CreatSubscriptionRequest ( ) : SubscribeRequest
CreatSubscriptionRequest ( System.DateTime date ) : SubscribeRequest
CreateAmendRequest ( String subscriptionId, String type ) : AmendRequest
CreateProductRatePlanChargeToUpdate ( ) : String
CreateRatePlanToSubscribe ( ) : String
CreateTieredProductRatePlanChargeToUpdate ( ) : String
MakeOverPayment ( String accountId ) : List
MakeRefund ( SubscribeResponseHolder sub, Invoice inv ) : void
MakeSubscription ( bool processPayment ) : SubscribeResponseHolder
MakeSubscription ( bool processPayment, bool generateInvoice, System.DateTime date ) : SubscribeResponseHolder
MakeTestAccount ( ) : Account
MakeTestContact ( ) : Contact
MakeTestPaymentMethod ( ) : PaymentMethod
MakeTestProduct ( ) : Product
MakeTestProductRatePlan ( String pid ) : ProductRatePlan
MakeTestProductRatePlanCharge ( String prpid ) : ProductRatePlanCharge
MakeTestProductRatePlanChargeTierData ( ) : ProductRatePlanChargeTier[]
MakeTestSubscription ( ) : Subscription
MakeTestSubscription ( System.DateTime date ) : Subscription
MakeTestTieredProductRatePlanCharge ( String prpid ) : ProductRatePlanCharge
MakeTestTieredProductRatePlanChargeTierData ( ) : ProductRatePlanChargeTier[]
ZuoraTestHelper ( ) : System

Method Details

AddToCleanup() public method

public AddToCleanup ( String id, String type ) : void
id String
type String
return void

CleanUp() public method

public CleanUp ( ) : void
return void

CreatSubscriptionRequest() public method

public CreatSubscriptionRequest ( ) : SubscribeRequest
return SubscribeRequest

CreatSubscriptionRequest() public method

public CreatSubscriptionRequest ( System.DateTime date ) : SubscribeRequest
date System.DateTime
return SubscribeRequest

CreateAmendRequest() public method

public CreateAmendRequest ( String subscriptionId, String type ) : AmendRequest
subscriptionId String
type String
return AmendRequest

CreateProductRatePlanChargeToUpdate() public method

public CreateProductRatePlanChargeToUpdate ( ) : String
return String

CreateRatePlanToSubscribe() public method

public CreateRatePlanToSubscribe ( ) : String
return String

CreateTieredProductRatePlanChargeToUpdate() public method

public CreateTieredProductRatePlanChargeToUpdate ( ) : String
return String

MakeOverPayment() public method

public MakeOverPayment ( String accountId ) : List
accountId String
return List

MakeRefund() public method

public MakeRefund ( SubscribeResponseHolder sub, Invoice inv ) : void
sub Zuora.Services.SubscribeResponseHolder
inv Invoice
return void

MakeSubscription() public method

public MakeSubscription ( bool processPayment ) : SubscribeResponseHolder
processPayment bool
return Zuora.Services.SubscribeResponseHolder

MakeSubscription() public method

public MakeSubscription ( bool processPayment, bool generateInvoice, System.DateTime date ) : SubscribeResponseHolder
processPayment bool
generateInvoice bool
date System.DateTime
return Zuora.Services.SubscribeResponseHolder

MakeTestAccount() public method

public MakeTestAccount ( ) : Account
return Account

MakeTestContact() public method

public MakeTestContact ( ) : Contact
return Contact

MakeTestPaymentMethod() public method

public MakeTestPaymentMethod ( ) : PaymentMethod
return PaymentMethod

MakeTestProduct() public method

public MakeTestProduct ( ) : Product
return Product

MakeTestProductRatePlan() public method

public MakeTestProductRatePlan ( String pid ) : ProductRatePlan
pid String
return ProductRatePlan

MakeTestProductRatePlanCharge() public method

public MakeTestProductRatePlanCharge ( String prpid ) : ProductRatePlanCharge
prpid String
return ProductRatePlanCharge

MakeTestProductRatePlanChargeTierData() public method

public MakeTestProductRatePlanChargeTierData ( ) : ProductRatePlanChargeTier[]
return ProductRatePlanChargeTier[]

MakeTestSubscription() public method

public MakeTestSubscription ( ) : Subscription
return Subscription

MakeTestSubscription() public method

public MakeTestSubscription ( System.DateTime date ) : Subscription
date System.DateTime
return Subscription

MakeTestTieredProductRatePlanCharge() public method

public MakeTestTieredProductRatePlanCharge ( String prpid ) : ProductRatePlanCharge
prpid String
return ProductRatePlanCharge

MakeTestTieredProductRatePlanChargeTierData() public method

public MakeTestTieredProductRatePlanChargeTierData ( ) : ProductRatePlanChargeTier[]
return ProductRatePlanChargeTier[]

ZuoraTestHelper() public method

public ZuoraTestHelper ( ) : System
return System