コード例 #1
0
ファイル: V1Item.cs プロジェクト: okenshields/test-dotnet
 public V1Item(string id                                   = null,
               string name                                 = null,
               string description                          = null,
               string type                                 = null,
               string color                                = null,
               string abbreviation                         = null,
               string visibility                           = null,
               bool?availableOnline                        = null,
               Models.V1ItemImage masterImage              = null,
               Models.V1Category category                  = null,
               IList <Models.V1Variation> variations       = null,
               IList <Models.V1ModifierList> modifierLists = null,
               IList <Models.V1Fee> fees                   = null,
               bool?taxable                                = null,
               string categoryId                           = null,
               bool?availableForPickup                     = null,
               string v2Id                                 = null)
 {
     Id                 = id;
     Name               = name;
     Description        = description;
     Type               = type;
     Color              = color;
     Abbreviation       = abbreviation;
     Visibility         = visibility;
     AvailableOnline    = availableOnline;
     MasterImage        = masterImage;
     Category           = category;
     Variations         = variations;
     ModifierLists      = modifierLists;
     Fees               = fees;
     Taxable            = taxable;
     CategoryId         = categoryId;
     AvailableForPickup = availableForPickup;
     V2Id               = v2Id;
 }
コード例 #2
0
 public Builder Body(Models.V1Category value)
 {
     body = value;
     return(this);
 }
コード例 #3
0
 public V1CreateCategoryRequest(Models.V1Category body = null)
 {
     Body = body;
 }
コード例 #4
0
 public Builder Body(Models.V1Category body)
 {
     this.body = body;
     return(this);
 }
コード例 #5
0
 public Builder(Models.V1Category body)
 {
     this.body = body;
 }
コード例 #6
0
 public V1UpdateCategoryRequest(Models.V1Category body)
 {
     Body = body;
 }
コード例 #7
0
ファイル: V1Item.cs プロジェクト: okenshields/test-dotnet
 public Builder Category(Models.V1Category value)
 {
     category = value;
     return(this);
 }
コード例 #8
0
ファイル: V1Item.cs プロジェクト: ramil91/square-dotnet-sdk
 public Builder Category(Models.V1Category category)
 {
     this.category = category;
     return(this);
 }