Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BillingPlanInformation" /> class.
 /// </summary>
 /// <param name="AppStoreReceipt">AppStoreReceipt.</param>
 /// <param name="BillingAddress">BillingAddress.</param>
 /// <param name="CreditCardInformation">CreditCardInformation.</param>
 /// <param name="DirectDebitProcessorInformation">DirectDebitProcessorInformation.</param>
 /// <param name="DowngradeReason">.</param>
 /// <param name="EnableSupport">.</param>
 /// <param name="IncludedSeats">The number of seats (users) included..</param>
 /// <param name="IncrementalSeats">Reserved: TBD.</param>
 /// <param name="PaymentMethod">.</param>
 /// <param name="PaymentProcessorInformation">PaymentProcessorInformation.</param>
 /// <param name="PlanInformation">PlanInformation.</param>
 /// <param name="ReferralInformation">ReferralInformation.</param>
 /// <param name="RenewalStatus">.</param>
 /// <param name="SaleDiscountAmount">.</param>
 /// <param name="SaleDiscountFixedAmount">.</param>
 /// <param name="SaleDiscountPercent">.</param>
 /// <param name="SaleDiscountPeriods">.</param>
 /// <param name="SaleDiscountSeatPriceOverride">.</param>
 public BillingPlanInformation(AppStoreReceipt AppStoreReceipt = default(AppStoreReceipt), AccountAddress BillingAddress = default(AccountAddress), CreditCardInformation CreditCardInformation = default(CreditCardInformation), DirectDebitProcessorInformation DirectDebitProcessorInformation = default(DirectDebitProcessorInformation), string DowngradeReason = default(string), string EnableSupport = default(string), string IncludedSeats = default(string), string IncrementalSeats = default(string), string PaymentMethod = default(string), PaymentProcessorInformation PaymentProcessorInformation = default(PaymentProcessorInformation), PlanInformation PlanInformation = default(PlanInformation), ReferralInformation ReferralInformation = default(ReferralInformation), string RenewalStatus = default(string), string SaleDiscountAmount = default(string), string SaleDiscountFixedAmount = default(string), string SaleDiscountPercent = default(string), string SaleDiscountPeriods = default(string), string SaleDiscountSeatPriceOverride = default(string))
 {
     this.AppStoreReceipt                 = AppStoreReceipt;
     this.BillingAddress                  = BillingAddress;
     this.CreditCardInformation           = CreditCardInformation;
     this.DirectDebitProcessorInformation = DirectDebitProcessorInformation;
     this.DowngradeReason                 = DowngradeReason;
     this.EnableSupport                 = EnableSupport;
     this.IncludedSeats                 = IncludedSeats;
     this.IncrementalSeats              = IncrementalSeats;
     this.PaymentMethod                 = PaymentMethod;
     this.PaymentProcessorInformation   = PaymentProcessorInformation;
     this.PlanInformation               = PlanInformation;
     this.ReferralInformation           = ReferralInformation;
     this.RenewalStatus                 = RenewalStatus;
     this.SaleDiscountAmount            = SaleDiscountAmount;
     this.SaleDiscountFixedAmount       = SaleDiscountFixedAmount;
     this.SaleDiscountPercent           = SaleDiscountPercent;
     this.SaleDiscountPeriods           = SaleDiscountPeriods;
     this.SaleDiscountSeatPriceOverride = SaleDiscountSeatPriceOverride;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NewAccountDefinition" /> class.
 /// </summary>
 /// <param name="AccountName">The account name for the new account..</param>
 /// <param name="AccountSettings">AccountSettings.</param>
 /// <param name="AddressInformation">AddressInformation.</param>
 /// <param name="CreditCardInformation">CreditCardInformation.</param>
 /// <param name="DirectDebitProcessorInformation">DirectDebitProcessorInformation.</param>
 /// <param name="DistributorCode">The code that identifies the billing plan groups and plans for the new account..</param>
 /// <param name="DistributorPassword">The password for the distributorCode..</param>
 /// <param name="InitialUser">InitialUser.</param>
 /// <param name="PaymentMethod">.</param>
 /// <param name="PaymentProcessorInformation">PaymentProcessorInformation.</param>
 /// <param name="PlanInformation">PlanInformation.</param>
 /// <param name="ReferralInformation">ReferralInformation.</param>
 /// <param name="SocialAccountInformation">SocialAccountInformation.</param>
 public NewAccountDefinition(string AccountName = default(string), AccountSettingsInformation AccountSettings = default(AccountSettingsInformation), AccountAddress AddressInformation = default(AccountAddress), CreditCardInformation CreditCardInformation = default(CreditCardInformation), DirectDebitProcessorInformation DirectDebitProcessorInformation = default(DirectDebitProcessorInformation), string DistributorCode = default(string), string DistributorPassword = default(string), UserInformation InitialUser = default(UserInformation), string PaymentMethod = default(string), PaymentProcessorInformation PaymentProcessorInformation = default(PaymentProcessorInformation), PlanInformation PlanInformation = default(PlanInformation), ReferralInformation ReferralInformation = default(ReferralInformation), SocialAccountInformation SocialAccountInformation = default(SocialAccountInformation))
 {
     this.AccountName                     = AccountName;
     this.AccountSettings                 = AccountSettings;
     this.AddressInformation              = AddressInformation;
     this.CreditCardInformation           = CreditCardInformation;
     this.DirectDebitProcessorInformation = DirectDebitProcessorInformation;
     this.DistributorCode                 = DistributorCode;
     this.DistributorPassword             = DistributorPassword;
     this.InitialUser                     = InitialUser;
     this.PaymentMethod                   = PaymentMethod;
     this.PaymentProcessorInformation     = PaymentProcessorInformation;
     this.PlanInformation                 = PlanInformation;
     this.ReferralInformation             = ReferralInformation;
     this.SocialAccountInformation        = SocialAccountInformation;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DowngradeBillingPlanInformation" /> class.
 /// </summary>
 /// <param name="DowngradeEventType">DowngradeEventType.</param>
 /// <param name="PlanInformation">PlanInformation.</param>
 /// <param name="PromoCode">PromoCode.</param>
 /// <param name="SaleDiscount">SaleDiscount.</param>
 /// <param name="SaleDiscountPeriods">SaleDiscountPeriods.</param>
 /// <param name="SaleDiscountType">SaleDiscountType.</param>
 public DowngradeBillingPlanInformation(string DowngradeEventType = default(string), PlanInformation PlanInformation = default(PlanInformation), string PromoCode = default(string), string SaleDiscount = default(string), string SaleDiscountPeriods = default(string), string SaleDiscountType = default(string))
 {
     this.DowngradeEventType  = DowngradeEventType;
     this.PlanInformation     = PlanInformation;
     this.PromoCode           = PromoCode;
     this.SaleDiscount        = SaleDiscount;
     this.SaleDiscountPeriods = SaleDiscountPeriods;
     this.SaleDiscountType    = SaleDiscountType;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NewAccountDefinition" /> class.
 /// </summary>
 /// <param name="AccountName">The account name for the new account..</param>
 /// <param name="AccountSettings">The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden..</param>
 /// <param name="AddressInformation">AddressInformation.</param>
 /// <param name="CreditCardInformation">CreditCardInformation.</param>
 /// <param name="DistributorCode">The code that identifies the billing plan groups and plans for the new account..</param>
 /// <param name="DistributorPassword">The password for the distributorCode..</param>
 /// <param name="InitialUser">InitialUser.</param>
 /// <param name="PlanInformation">PlanInformation.</param>
 /// <param name="ReferralInformation">ReferralInformation.</param>
 /// <param name="SocialAccountInformation">SocialAccountInformation.</param>
 public NewAccountDefinition(string AccountName = default(string), List <NameValue> AccountSettings = default(List <NameValue>), AccountAddress AddressInformation = default(AccountAddress), CreditCardInformation CreditCardInformation = default(CreditCardInformation), string DistributorCode = default(string), string DistributorPassword = default(string), UserInformation InitialUser = default(UserInformation), PlanInformation PlanInformation = default(PlanInformation), ReferralInformation ReferralInformation = default(ReferralInformation), SocialAccountInformation SocialAccountInformation = default(SocialAccountInformation))
 {
     this.AccountName              = AccountName;
     this.AccountSettings          = AccountSettings;
     this.AddressInformation       = AddressInformation;
     this.CreditCardInformation    = CreditCardInformation;
     this.DistributorCode          = DistributorCode;
     this.DistributorPassword      = DistributorPassword;
     this.InitialUser              = InitialUser;
     this.PlanInformation          = PlanInformation;
     this.ReferralInformation      = ReferralInformation;
     this.SocialAccountInformation = SocialAccountInformation;
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DowngradeBillingPlanInformation" /> class.
 /// </summary>
 /// <param name="DowngradeEventType">.</param>
 /// <param name="PlanInformation">PlanInformation.</param>
 public DowngradeBillingPlanInformation(string DowngradeEventType = default(string), PlanInformation PlanInformation = default(PlanInformation))
 {
     this.DowngradeEventType = DowngradeEventType;
     this.PlanInformation    = PlanInformation;
 }