C# Class Zuora.Services.SubscriptionManager

Show file Open project: zuorasc/c-sharp-quickstart Class Usage Examples

Public Methods

Method Description
DoAddProductAmendment ( String subscriptionId, System.DateTime effectiveDate, String productRatePlanId, AmendOptions ao = null, PreviewOptions po = null ) : AmendResponseHolder
DoRenewalAmendment ( String subscriptionId, System.DateTime effectiveDate, AmendOptions ao = null, PreviewOptions po = null ) : AmendResponseHolder
DoTermsAndConditionsAmendment ( String subscriptionId, System.DateTime effectiveDate, String termType, int initialTerm, int renewalTerm, AmendOptions ao = null, PreviewOptions po = null ) : AmendResponseHolder
GetSubscriptionAndChargeInfo ( String subscriptionId ) : SubscriptionInfoHolder
Subscribe ( Account acc, Contact con, PaymentMethod pay, List productRatePlans, Subscription sub, PreviewOptions po, SubscribeOptions so ) : SubscribeResponseHolder
SubscribeWithExisitingAccount ( String accountId, List productRatePlans, Subscription sub, PreviewOptions po, SubscribeOptions so ) : SubscribeResponseHolder
SubscriptionManager ( ZuoraService zs ) : System

Method Details

DoAddProductAmendment() public method

public DoAddProductAmendment ( String subscriptionId, System.DateTime effectiveDate, String productRatePlanId, AmendOptions ao = null, PreviewOptions po = null ) : AmendResponseHolder
subscriptionId String
effectiveDate System.DateTime
productRatePlanId String
ao AmendOptions
po PreviewOptions
return AmendResponseHolder

DoRenewalAmendment() public method

public DoRenewalAmendment ( String subscriptionId, System.DateTime effectiveDate, AmendOptions ao = null, PreviewOptions po = null ) : AmendResponseHolder
subscriptionId String
effectiveDate System.DateTime
ao AmendOptions
po PreviewOptions
return AmendResponseHolder

DoTermsAndConditionsAmendment() public method

public DoTermsAndConditionsAmendment ( String subscriptionId, System.DateTime effectiveDate, String termType, int initialTerm, int renewalTerm, AmendOptions ao = null, PreviewOptions po = null ) : AmendResponseHolder
subscriptionId String
effectiveDate System.DateTime
termType String
initialTerm int
renewalTerm int
ao AmendOptions
po PreviewOptions
return AmendResponseHolder

GetSubscriptionAndChargeInfo() public method

public GetSubscriptionAndChargeInfo ( String subscriptionId ) : SubscriptionInfoHolder
subscriptionId String
return SubscriptionInfoHolder

Subscribe() public method

public Subscribe ( Account acc, Contact con, PaymentMethod pay, List productRatePlans, Subscription sub, PreviewOptions po, SubscribeOptions so ) : SubscribeResponseHolder
acc Account
con Contact
pay PaymentMethod
productRatePlans List
sub Subscription
po PreviewOptions
so SubscribeOptions
return SubscribeResponseHolder

SubscribeWithExisitingAccount() public method

public SubscribeWithExisitingAccount ( String accountId, List productRatePlans, Subscription sub, PreviewOptions po, SubscribeOptions so ) : SubscribeResponseHolder
accountId String
productRatePlans List
sub Subscription
po PreviewOptions
so SubscribeOptions
return SubscribeResponseHolder

SubscriptionManager() public method

public SubscriptionManager ( ZuoraService zs ) : System
zs ZuoraService
return System