/// <summary>
 /// Initializes a new instance of the <see cref="ContractCommitmentInfo" /> class.
 /// </summary>
 /// <param name="CommitmentCalculatedFinishDate">The commitment end date related to the offer.</param>
 /// <param name="NewContractStartDate">The start date related to the offer.</param>
 /// <param name="CommitmentPeriodInMonth">The commitment period in month related to the offer.</param>
 /// <param name="TrialPeriodInMonth">The trial period in month related to the offer.</param>
 /// <param name="TrialPeriodFinishDate">The trial period end date related to the offer.</param>
 /// <param name="PaymentDelayInDays">The payment delay in days related to the offer.</param>
 /// <param name="OfferId">OfferId.</param>
 /// <param name="OfferName">The offer Name.</param>
 /// <param name="CurrentContractId">Your current contract id.</param>
 /// <param name="CommercialUserId">Your current commercial user id.</param>
 /// <param name="Model">Interal usage: Old offer type. The model description.</param>
 /// <param name="CurrentContractTerminationDate">The current contract termination date.</param>
 /// <param name="RequestedPaymentMethod">RequestedPaymentMethod.</param>
 /// <param name="CurrentCustomerPaymentMethod">CurrentCustomerPaymentMethod.</param>
 /// <param name="ContractType">Internal usage: Old offer type. Your contract type.</param>
 /// <param name="IsModelMustBeTransmittedInNewContract">Internal usage: Old offer type. Is the current contract model needs to be converted into a new contract type.</param>
 /// <param name="FixedAndVariableClickInfo">FixedAndVariableClickInfo.</param>
 /// <param name="VariableModelInfo">VariableModelInfo.</param>
 /// <param name="PaymentMethodAuthorized">PaymentMethodAuthorized.</param>
 /// <param name="CouponOfferCode">CouponOfferCode.</param>
 /// <param name="CommercialCreatorUserId">The commercial that is responsible of the creation of your account.</param>
 /// <param name="MinBillingPeriodInMonths">The minimum billing period in month authorized for this offer..</param>
 /// <param name="IsCustomerWantsToTerminateHisContract">If true, this means you want to leave us and that&#39;s sad... :&#39;-(.</param>
 public ContractCommitmentInfo(DateTime?CommitmentCalculatedFinishDate = default(DateTime?), DateTime?NewContractStartDate = default(DateTime?), int?CommitmentPeriodInMonth = default(int?), int?TrialPeriodInMonth = default(int?), DateTime?TrialPeriodFinishDate = default(DateTime?), int?PaymentDelayInDays = default(int?), OfferId OfferId = default(OfferId), string OfferName = default(string), string CurrentContractId = default(string), string CommercialUserId = default(string), string Model = default(string), DateTime?CurrentContractTerminationDate = default(DateTime?), PaymentMethod RequestedPaymentMethod = default(PaymentMethod), PaymentMethod CurrentCustomerPaymentMethod = default(PaymentMethod), int?ContractType = default(int?), bool?IsModelMustBeTransmittedInNewContract = default(bool?), FixedAndVariableClickModelInfo FixedAndVariableClickInfo = default(FixedAndVariableClickModelInfo), VariableModelInfo VariableModelInfo = default(VariableModelInfo), PaymentMethod PaymentMethodAuthorized = default(PaymentMethod), CouponOfferCode CouponOfferCode = default(CouponOfferCode), string CommercialCreatorUserId = default(string), int?MinBillingPeriodInMonths = default(int?), bool?IsCustomerWantsToTerminateHisContract = default(bool?))
 {
     this.CommitmentCalculatedFinishDate = CommitmentCalculatedFinishDate;
     this.NewContractStartDate           = NewContractStartDate;
     this.CommitmentPeriodInMonth        = CommitmentPeriodInMonth;
     this.TrialPeriodInMonth             = TrialPeriodInMonth;
     this.TrialPeriodFinishDate          = TrialPeriodFinishDate;
     this.PaymentDelayInDays             = PaymentDelayInDays;
     this.OfferId           = OfferId;
     this.OfferName         = OfferName;
     this.CurrentContractId = CurrentContractId;
     this.CommercialUserId  = CommercialUserId;
     this.Model             = Model;
     this.CurrentContractTerminationDate = CurrentContractTerminationDate;
     this.RequestedPaymentMethod         = RequestedPaymentMethod;
     this.CurrentCustomerPaymentMethod   = CurrentCustomerPaymentMethod;
     this.ContractType = ContractType;
     this.IsModelMustBeTransmittedInNewContract = IsModelMustBeTransmittedInNewContract;
     this.FixedAndVariableClickInfo             = FixedAndVariableClickInfo;
     this.VariableModelInfo        = VariableModelInfo;
     this.PaymentMethodAuthorized  = PaymentMethodAuthorized;
     this.CouponOfferCode          = CouponOfferCode;
     this.CommercialCreatorUserId  = CommercialCreatorUserId;
     this.MinBillingPeriodInMonths = MinBillingPeriodInMonths;
     this.IsCustomerWantsToTerminateHisContract = IsCustomerWantsToTerminateHisContract;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NextContractInfo" /> class.
 /// </summary>
 /// <param name="TrialPeriodInMonth">The trial period in month.</param>
 /// <param name="BillingPeriodPercentDiscount">The percent discount related to the billing period.</param>
 /// <param name="DiscountDurationInMonth">The discount duration in month.</param>
 /// <param name="PercentDiscount">The percent of the discount.</param>
 /// <param name="OfferId">OfferId.</param>
 /// <param name="StoreCount">StoreCount.</param>
 /// <param name="StartUtcDate">The start date of your contract.</param>
 /// <param name="CommitmentCalculatedFinishUtcDate">The calculated end date of commitment.</param>
 /// <param name="BillingPeriodInMonth">The billing period in month.</param>
 /// <param name="FixedPrice">The fixed price of your contract.</param>
 /// <param name="OfferName">The offer name based on /offers.</param>
 /// <param name="CurrencyCode">CurrencyCode.</param>
 /// <param name="ContractId">ContractId.</param>
 /// <param name="CommitmentPeriodInMonth">The commitment period in month.</param>
 /// <param name="ClickIncluded">The click included.</param>
 /// <param name="AdditionalClickPrice">Additional click price.</param>
 /// <param name="IpUserCreation">The IP of the user who creates the contract.</param>
 /// <param name="IpUserModification">The IP of the user who modified the contract.</param>
 /// <param name="FixedAndVariableClickInfo">FixedAndVariableClickInfo.</param>
 /// <param name="VariableModelInfo">VariableModelInfo.</param>
 /// <param name="IsCommitmentRenewalAutomatically">Is commitment is automatically renewed.</param>
 /// <param name="DiscountEndUtcDate">The end of your discount.</param>
 /// <param name="IsModifiableContract">Is the contract is modifiable ?.</param>
 /// <param name="Links">Links (required).</param>
 public NextContractInfo(int?TrialPeriodInMonth = default(int?), double?BillingPeriodPercentDiscount = default(double?), int?DiscountDurationInMonth = default(int?), double?PercentDiscount = default(double?), OfferId OfferId = default(OfferId), StoreCount StoreCount = default(StoreCount), DateTime?StartUtcDate = default(DateTime?), DateTime?CommitmentCalculatedFinishUtcDate = default(DateTime?), int?BillingPeriodInMonth = default(int?), double?FixedPrice = default(double?), string OfferName = default(string), BeezUPCommonCurrencyCode CurrencyCode = default(BeezUPCommonCurrencyCode), ContractId ContractId = default(ContractId), int?CommitmentPeriodInMonth = default(int?), int?ClickIncluded = default(int?), double?AdditionalClickPrice = default(double?), string IpUserCreation = default(string), string IpUserModification = default(string), FixedAndVariableClickModelInfo FixedAndVariableClickInfo = default(FixedAndVariableClickModelInfo), VariableModelInfo VariableModelInfo = default(VariableModelInfo), bool?IsCommitmentRenewalAutomatically = default(bool?), DateTime?DiscountEndUtcDate = default(DateTime?), bool?IsModifiableContract = default(bool?), NextContractInfoLinks Links = default(NextContractInfoLinks))
 {
     // to ensure "Links" is required (not null)
     if (Links == null)
     {
         throw new InvalidDataException("Links is a required property for NextContractInfo and cannot be null");
     }
     else
     {
         this.Links = Links;
     }
     this.TrialPeriodInMonth           = TrialPeriodInMonth;
     this.BillingPeriodPercentDiscount = BillingPeriodPercentDiscount;
     this.DiscountDurationInMonth      = DiscountDurationInMonth;
     this.PercentDiscount = PercentDiscount;
     this.OfferId         = OfferId;
     this.StoreCount      = StoreCount;
     this.StartUtcDate    = StartUtcDate;
     this.CommitmentCalculatedFinishUtcDate = CommitmentCalculatedFinishUtcDate;
     this.BillingPeriodInMonth             = BillingPeriodInMonth;
     this.FixedPrice                       = FixedPrice;
     this.OfferName                        = OfferName;
     this.CurrencyCode                     = CurrencyCode;
     this.ContractId                       = ContractId;
     this.CommitmentPeriodInMonth          = CommitmentPeriodInMonth;
     this.ClickIncluded                    = ClickIncluded;
     this.AdditionalClickPrice             = AdditionalClickPrice;
     this.IpUserCreation                   = IpUserCreation;
     this.IpUserModification               = IpUserModification;
     this.FixedAndVariableClickInfo        = FixedAndVariableClickInfo;
     this.VariableModelInfo                = VariableModelInfo;
     this.IsCommitmentRenewalAutomatically = IsCommitmentRenewalAutomatically;
     this.DiscountEndUtcDate               = DiscountEndUtcDate;
     this.IsModifiableContract             = IsModifiableContract;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContractInfo" /> class.
 /// </summary>
 /// <param name="TrialPeriodInMonth">The trial period in month.</param>
 /// <param name="BillingPeriodPercentDiscount">The percent discount related to the billing period.</param>
 /// <param name="DiscountDurationInMonth">The discount duration in month.</param>
 /// <param name="PercentDiscount">The percent of the discount.</param>
 /// <param name="OfferId">OfferId.</param>
 /// <param name="StoreCount">StoreCount.</param>
 /// <param name="StartUtcDate">The start date of your contract.</param>
 /// <param name="CommitmentCalculatedFinishUtcDate">The calculated end date of commitment.</param>
 /// <param name="BillingPeriodInMonth">The billing period in month.</param>
 /// <param name="FixedPrice">The fixed price of your contract.</param>
 /// <param name="OfferName">The offer name based on /offers.</param>
 /// <param name="CurrencyCode">CurrencyCode.</param>
 /// <param name="ContractId">ContractId.</param>
 /// <param name="CommitmentPeriodInMonth">The commitment period in month.</param>
 /// <param name="ClickIncluded">The click included.</param>
 /// <param name="AdditionalClickPrice">Additional click price.</param>
 /// <param name="IpUserCreation">The IP of the user who creates the contract.</param>
 /// <param name="IpUserModification">The IP of the user who modified the contract.</param>
 /// <param name="FixedAndVariableClickInfo">FixedAndVariableClickInfo.</param>
 /// <param name="VariableModelInfo">VariableModelInfo.</param>
 /// <param name="IsCommitmentRenewalAutomatically">Is commitment is automatically renewed.</param>
 /// <param name="DiscountEndUtcDate">The end of your discount.</param>
 /// <param name="IsModifiableContract">Is the contract is modifiable ?.</param>
 public ContractInfo(int?TrialPeriodInMonth = default(int?), double?BillingPeriodPercentDiscount = default(double?), int?DiscountDurationInMonth = default(int?), double?PercentDiscount = default(double?), OfferId OfferId = default(OfferId), StoreCount StoreCount = default(StoreCount), DateTime?StartUtcDate = default(DateTime?), DateTime?CommitmentCalculatedFinishUtcDate = default(DateTime?), int?BillingPeriodInMonth = default(int?), double?FixedPrice = default(double?), string OfferName = default(string), BeezUPCommonCurrencyCode CurrencyCode = default(BeezUPCommonCurrencyCode), ContractId ContractId = default(ContractId), int?CommitmentPeriodInMonth = default(int?), int?ClickIncluded = default(int?), double?AdditionalClickPrice = default(double?), string IpUserCreation = default(string), string IpUserModification = default(string), FixedAndVariableClickModelInfo FixedAndVariableClickInfo = default(FixedAndVariableClickModelInfo), VariableModelInfo VariableModelInfo = default(VariableModelInfo), bool?IsCommitmentRenewalAutomatically = default(bool?), DateTime?DiscountEndUtcDate = default(DateTime?), bool?IsModifiableContract = default(bool?))
 {
     this.TrialPeriodInMonth           = TrialPeriodInMonth;
     this.BillingPeriodPercentDiscount = BillingPeriodPercentDiscount;
     this.DiscountDurationInMonth      = DiscountDurationInMonth;
     this.PercentDiscount = PercentDiscount;
     this.OfferId         = OfferId;
     this.StoreCount      = StoreCount;
     this.StartUtcDate    = StartUtcDate;
     this.CommitmentCalculatedFinishUtcDate = CommitmentCalculatedFinishUtcDate;
     this.BillingPeriodInMonth             = BillingPeriodInMonth;
     this.FixedPrice                       = FixedPrice;
     this.OfferName                        = OfferName;
     this.CurrencyCode                     = CurrencyCode;
     this.ContractId                       = ContractId;
     this.CommitmentPeriodInMonth          = CommitmentPeriodInMonth;
     this.ClickIncluded                    = ClickIncluded;
     this.AdditionalClickPrice             = AdditionalClickPrice;
     this.IpUserCreation                   = IpUserCreation;
     this.IpUserModification               = IpUserModification;
     this.FixedAndVariableClickInfo        = FixedAndVariableClickInfo;
     this.VariableModelInfo                = VariableModelInfo;
     this.IsCommitmentRenewalAutomatically = IsCommitmentRenewalAutomatically;
     this.DiscountEndUtcDate               = DiscountEndUtcDate;
     this.IsModifiableContract             = IsModifiableContract;
 }