/// <summary>
 /// Initializes a new instance of the <see cref="MarketplaceChannelCatalogLovLinks" /> class.
 /// </summary>
 /// <param name="ShippingMethodLOV">ShippingMethodLOV.</param>
 /// <param name="CarrierCodeLOV">CarrierCodeLOV.</param>
 /// <param name="CancelationReasonCodeLOV">CancelationReasonCodeLOV.</param>
 /// <param name="RefundReasonCodeLOV">RefundReasonCodeLOV.</param>
 public MarketplaceChannelCatalogLovLinks(BeezUPCommonLOVLink3 ShippingMethodLOV = default(BeezUPCommonLOVLink3), BeezUPCommonLOVLink3 CarrierCodeLOV = default(BeezUPCommonLOVLink3), BeezUPCommonLOVLink3 CancelationReasonCodeLOV = default(BeezUPCommonLOVLink3), BeezUPCommonLOVLink3 RefundReasonCodeLOV = default(BeezUPCommonLOVLink3))
 {
     this.ShippingMethodLOV        = ShippingMethodLOV;
     this.CarrierCodeLOV           = CarrierCodeLOV;
     this.CancelationReasonCodeLOV = CancelationReasonCodeLOV;
     this.RefundReasonCodeLOV      = RefundReasonCodeLOV;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderIndexLovLinks" /> class.
 /// </summary>
 /// <param name="OrderChangeBusinessOperationType">OrderChangeBusinessOperationType (required).</param>
 /// <param name="OrderState">OrderState (required).</param>
 /// <param name="OrderProperty">OrderProperty (required).</param>
 /// <param name="OrderPropertyPosted">OrderPropertyPosted (required).</param>
 public OrderIndexLovLinks(BeezUPCommonLOVLink3 OrderChangeBusinessOperationType = default(BeezUPCommonLOVLink3), BeezUPCommonLOVLink3 OrderState = default(BeezUPCommonLOVLink3), BeezUPCommonLOVLink3 OrderProperty = default(BeezUPCommonLOVLink3), BeezUPCommonLOVLink3 OrderPropertyPosted = default(BeezUPCommonLOVLink3))
 {
     // to ensure "OrderChangeBusinessOperationType" is required (not null)
     if (OrderChangeBusinessOperationType == null)
     {
         throw new InvalidDataException("OrderChangeBusinessOperationType is a required property for OrderIndexLovLinks and cannot be null");
     }
     else
     {
         this.OrderChangeBusinessOperationType = OrderChangeBusinessOperationType;
     }
     // to ensure "OrderState" is required (not null)
     if (OrderState == null)
     {
         throw new InvalidDataException("OrderState is a required property for OrderIndexLovLinks and cannot be null");
     }
     else
     {
         this.OrderState = OrderState;
     }
     // to ensure "OrderProperty" is required (not null)
     if (OrderProperty == null)
     {
         throw new InvalidDataException("OrderProperty is a required property for OrderIndexLovLinks and cannot be null");
     }
     else
     {
         this.OrderProperty = OrderProperty;
     }
     // to ensure "OrderPropertyPosted" is required (not null)
     if (OrderPropertyPosted == null)
     {
         throw new InvalidDataException("OrderPropertyPosted is a required property for OrderIndexLovLinks and cannot be null");
     }
     else
     {
         this.OrderPropertyPosted = OrderPropertyPosted;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ChannelCatalogMarketplaceProperty" /> class.
 /// </summary>
 /// <param name="Name">Channel catalog marketplace property name (required).</param>
 /// <param name="Values">Channel catalog marketplace property values.</param>
 /// <param name="Info">Info.</param>
 /// <param name="_Default">Indicate the default values of the property.</param>
 /// <param name="Description">Indicate the description of the property.</param>
 /// <param name="Position">Indicate the position of the property in the display group (required).</param>
 /// <param name="_ReadOnly">Indicate if the value cannot be changed. This is used for example for ebay token that should not be changed. (required) (default to false).</param>
 /// <param name="MinLength">Indicates the minimum size of the property value (default to 0).</param>
 /// <param name="MaxLength">Indicates the maximum size of the property value.</param>
 /// <param name="MinItems">Indicates the minimum item count of the property value. (default to 1).</param>
 /// <param name="MaxItems">Indicates the maximum item count of the property value (default to 1).</param>
 /// <param name="LovLink">LovLink.</param>
 /// <param name="LovRequired">Indicates if the property value must be in the list of value. (default to false).</param>
 /// <param name="Required">Indicate if the property is required or not (required) (default to false).</param>
 /// <param name="OfferIdRequired">Indicates the offer identifier required to configure this property..</param>
 /// <param name="Visible">Indicates if this property should be displayed in the configuration page. (required) (default to true).</param>
 /// <param name="Type">Type.</param>
 /// <param name="Pattern">Channel catalog marketplace setting value format validation regular expression.</param>
 public ChannelCatalogMarketplaceProperty(string Name = default(string), List <string> Values = default(List <string>), BeezUPCommonInfoSummaries Info = default(BeezUPCommonInfoSummaries), List <string> _Default = default(List <string>), string Description = default(string), int?Position = default(int?), bool?_ReadOnly = false, int?MinLength = 0, int?MaxLength = default(int?), int?MinItems = 1, int?MaxItems = 1, BeezUPCommonLOVLink3 LovLink = default(BeezUPCommonLOVLink3), bool?LovRequired = false, bool?Required = false, int?OfferIdRequired = default(int?), bool?Visible = true, Type Type = default(Type), string Pattern = default(string))
 {
     // to ensure "Name" is required (not null)
     if (Name == null)
     {
         throw new InvalidDataException("Name is a required property for ChannelCatalogMarketplaceProperty and cannot be null");
     }
     else
     {
         this.Name = Name;
     }
     // to ensure "Position" is required (not null)
     if (Position == null)
     {
         throw new InvalidDataException("Position is a required property for ChannelCatalogMarketplaceProperty and cannot be null");
     }
     else
     {
         this.Position = Position;
     }
     // to ensure "_ReadOnly" is required (not null)
     if (_ReadOnly == null)
     {
         throw new InvalidDataException("_ReadOnly is a required property for ChannelCatalogMarketplaceProperty and cannot be null");
     }
     else
     {
         this._ReadOnly = _ReadOnly;
     }
     // to ensure "Required" is required (not null)
     if (Required == null)
     {
         throw new InvalidDataException("Required is a required property for ChannelCatalogMarketplaceProperty and cannot be null");
     }
     else
     {
         this.Required = Required;
     }
     // to ensure "Visible" is required (not null)
     if (Visible == null)
     {
         throw new InvalidDataException("Visible is a required property for ChannelCatalogMarketplaceProperty and cannot be null");
     }
     else
     {
         this.Visible = Visible;
     }
     this.Values      = Values;
     this.Info        = Info;
     this._Default    = _Default;
     this.Description = Description;
     // use default value if no "MinLength" provided
     if (MinLength == null)
     {
         this.MinLength = 0;
     }
     else
     {
         this.MinLength = MinLength;
     }
     this.MaxLength = MaxLength;
     // use default value if no "MinItems" provided
     if (MinItems == null)
     {
         this.MinItems = 1;
     }
     else
     {
         this.MinItems = MinItems;
     }
     // use default value if no "MaxItems" provided
     if (MaxItems == null)
     {
         this.MaxItems = 1;
     }
     else
     {
         this.MaxItems = MaxItems;
     }
     this.LovLink = LovLink;
     // use default value if no "LovRequired" provided
     if (LovRequired == null)
     {
         this.LovRequired = false;
     }
     else
     {
         this.LovRequired = LovRequired;
     }
     this.OfferIdRequired = OfferIdRequired;
     this.Type            = Type;
     this.Pattern         = Pattern;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeezUPCommonLinkParameterProperty3" /> class.
 /// </summary>
 /// <param name="Label">The label corresponding to the link parameter property. This label is automatically translated based on the Accept-Language http header..</param>
 /// <param name="Value">The value of the parameter. It can be an integer a string or an object..</param>
 /// <param name="Required">Required.</param>
 /// <param name="Type">Type (required).</param>
 /// <param name="LovLink">LovLink.</param>
 /// <param name="LovRequired">If true, you MUST use indicate a value from the list of values otherwise it&#39;s a freetext.</param>
 /// <param name="Description">description of the parameter.</param>
 /// <param name="Schema">schema of the parameter.</param>
 public BeezUPCommonLinkParameterProperty3(string Label = default(string), Object Value = default(Object), bool?Required = default(bool?), BeezUPCommonParameterType Type = default(BeezUPCommonParameterType), BeezUPCommonLOVLink3 LovLink = default(BeezUPCommonLOVLink3), bool?LovRequired = default(bool?), string Description = default(string), string Schema = default(string))
 {
     // to ensure "Type" is required (not null)
     if (Type == null)
     {
         throw new InvalidDataException("Type is a required property for BeezUPCommonLinkParameterProperty3 and cannot be null");
     }
     else
     {
         this.Type = Type;
     }
     this.Label       = Label;
     this.Value       = Value;
     this.Required    = Required;
     this.LovLink     = LovLink;
     this.LovRequired = LovRequired;
     this.Description = Description;
     this.Schema      = Schema;
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeezUPCommonLinkParameter3" /> class.
 /// </summary>
 /// <param name="Label">The label corresponding to the link parameter. This label is automatically translated based on the Accept-Language http header..</param>
 /// <param name="Value">The value of the parameter. It can be an integer a string or an object..</param>
 /// <param name="Required">Required (default to false).</param>
 /// <param name="_In">_In (required).</param>
 /// <param name="Type">Type.</param>
 /// <param name="LovLink">LovLink.</param>
 /// <param name="LovRequired">If true, you MUST indicate a value from the list of values otherwise it&#39;s a freetext.</param>
 /// <param name="Description">description of the parameter.</param>
 /// <param name="Schema">schema of the parameter.</param>
 /// <param name="Properties">If the parameter is an object with flexible properties (additionProperties/dictionary), we will describe the properties of the object..</param>
 public BeezUPCommonLinkParameter3(string Label = default(string), Object Value = default(Object), bool?Required = false, BeezUPCommonParameterIn _In = default(BeezUPCommonParameterIn), BeezUPCommonParameterType Type = default(BeezUPCommonParameterType), BeezUPCommonLOVLink3 LovLink = default(BeezUPCommonLOVLink3), bool?LovRequired = default(bool?), string Description = default(string), string Schema = default(string), Dictionary <string, BeezUPCommonLinkParameterProperty3> Properties = default(Dictionary <string, BeezUPCommonLinkParameterProperty3>))
 {
     // to ensure "_In" is required (not null)
     if (_In == null)
     {
         throw new InvalidDataException("_In is a required property for BeezUPCommonLinkParameter3 and cannot be null");
     }
     else
     {
         this._In = _In;
     }
     this.Label = Label;
     this.Value = Value;
     // use default value if no "Required" provided
     if (Required == null)
     {
         this.Required = false;
     }
     else
     {
         this.Required = Required;
     }
     this.Type        = Type;
     this.LovLink     = LovLink;
     this.LovRequired = LovRequired;
     this.Description = Description;
     this.Schema      = Schema;
     this.Properties  = Properties;
 }