コード例 #1
0
 public CatalogCustomAttributeDefinition(string type,
                                         string name,
                                         IList <string> allowedObjectTypes,
                                         string description = null,
                                         Models.SourceApplication sourceApplication = null,
                                         string sellerVisibility = null,
                                         string appVisibility    = null,
                                         Models.CatalogCustomAttributeDefinitionStringConfig stringConfig       = null,
                                         Models.CatalogCustomAttributeDefinitionNumberConfig numberConfig       = null,
                                         Models.CatalogCustomAttributeDefinitionSelectionConfig selectionConfig = null,
                                         int?customAttributeUsageCount = null,
                                         string key = null)
 {
     Type                      = type;
     Name                      = name;
     Description               = description;
     SourceApplication         = sourceApplication;
     AllowedObjectTypes        = allowedObjectTypes;
     SellerVisibility          = sellerVisibility;
     AppVisibility             = appVisibility;
     StringConfig              = stringConfig;
     NumberConfig              = numberConfig;
     SelectionConfig           = selectionConfig;
     CustomAttributeUsageCount = customAttributeUsageCount;
     Key = key;
 }
コード例 #2
0
 public Builder NumberConfig(Models.CatalogCustomAttributeDefinitionNumberConfig numberConfig)
 {
     this.numberConfig = numberConfig;
     return(this);
 }
コード例 #3
0
 public Builder NumberConfig(Models.CatalogCustomAttributeDefinitionNumberConfig value)
 {
     numberConfig = value;
     return(this);
 }