Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Location"/> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="address">address.</param>
 /// <param name="timezone">timezone.</param>
 /// <param name="capabilities">capabilities.</param>
 /// <param name="status">status.</param>
 /// <param name="createdAt">created_at.</param>
 /// <param name="merchantId">merchant_id.</param>
 /// <param name="country">country.</param>
 /// <param name="languageCode">language_code.</param>
 /// <param name="currency">currency.</param>
 /// <param name="phoneNumber">phone_number.</param>
 /// <param name="businessName">business_name.</param>
 /// <param name="type">type.</param>
 /// <param name="websiteUrl">website_url.</param>
 /// <param name="businessHours">business_hours.</param>
 /// <param name="businessEmail">business_email.</param>
 /// <param name="description">description.</param>
 /// <param name="twitterUsername">twitter_username.</param>
 /// <param name="instagramUsername">instagram_username.</param>
 /// <param name="facebookUrl">facebook_url.</param>
 /// <param name="coordinates">coordinates.</param>
 /// <param name="logoUrl">logo_url.</param>
 /// <param name="posBackgroundUrl">pos_background_url.</param>
 /// <param name="mcc">mcc.</param>
 /// <param name="fullFormatLogoUrl">full_format_logo_url.</param>
 public Location(
     string id                          = null,
     string name                        = null,
     Models.Address address             = null,
     string timezone                    = null,
     IList <string> capabilities        = null,
     string status                      = null,
     string createdAt                   = null,
     string merchantId                  = null,
     string country                     = null,
     string languageCode                = null,
     string currency                    = null,
     string phoneNumber                 = null,
     string businessName                = null,
     string type                        = null,
     string websiteUrl                  = null,
     Models.BusinessHours businessHours = null,
     string businessEmail               = null,
     string description                 = null,
     string twitterUsername             = null,
     string instagramUsername           = null,
     string facebookUrl                 = null,
     Models.Coordinates coordinates     = null,
     string logoUrl                     = null,
     string posBackgroundUrl            = null,
     string mcc                         = null,
     string fullFormatLogoUrl           = null)
 {
     this.Id                = id;
     this.Name              = name;
     this.Address           = address;
     this.Timezone          = timezone;
     this.Capabilities      = capabilities;
     this.Status            = status;
     this.CreatedAt         = createdAt;
     this.MerchantId        = merchantId;
     this.Country           = country;
     this.LanguageCode      = languageCode;
     this.Currency          = currency;
     this.PhoneNumber       = phoneNumber;
     this.BusinessName      = businessName;
     this.Type              = type;
     this.WebsiteUrl        = websiteUrl;
     this.BusinessHours     = businessHours;
     this.BusinessEmail     = businessEmail;
     this.Description       = description;
     this.TwitterUsername   = twitterUsername;
     this.InstagramUsername = instagramUsername;
     this.FacebookUrl       = facebookUrl;
     this.Coordinates       = coordinates;
     this.LogoUrl           = logoUrl;
     this.PosBackgroundUrl  = posBackgroundUrl;
     this.Mcc               = mcc;
     this.FullFormatLogoUrl = fullFormatLogoUrl;
 }
Exemplo n.º 2
0
 public Location(string id                          = null,
                 string name                        = null,
                 Models.Address address             = null,
                 string timezone                    = null,
                 IList <string> capabilities        = null,
                 string status                      = null,
                 string createdAt                   = null,
                 string merchantId                  = null,
                 string country                     = null,
                 string languageCode                = null,
                 string currency                    = null,
                 string phoneNumber                 = null,
                 string businessName                = null,
                 string type                        = null,
                 string websiteUrl                  = null,
                 Models.BusinessHours businessHours = null,
                 string businessEmail               = null,
                 string description                 = null,
                 string twitterUsername             = null,
                 string instagramUsername           = null,
                 string facebookUrl                 = null,
                 Models.Coordinates coordinates     = null,
                 string logoUrl                     = null,
                 string posBackgroundUrl            = null,
                 string mcc                         = null,
                 string fullFormatLogoUrl           = null)
 {
     Id                = id;
     Name              = name;
     Address           = address;
     Timezone          = timezone;
     Capabilities      = capabilities;
     Status            = status;
     CreatedAt         = createdAt;
     MerchantId        = merchantId;
     Country           = country;
     LanguageCode      = languageCode;
     Currency          = currency;
     PhoneNumber       = phoneNumber;
     BusinessName      = businessName;
     Type              = type;
     WebsiteUrl        = websiteUrl;
     BusinessHours     = businessHours;
     BusinessEmail     = businessEmail;
     Description       = description;
     TwitterUsername   = twitterUsername;
     InstagramUsername = instagramUsername;
     FacebookUrl       = facebookUrl;
     Coordinates       = coordinates;
     LogoUrl           = logoUrl;
     PosBackgroundUrl  = posBackgroundUrl;
     Mcc               = mcc;
     FullFormatLogoUrl = fullFormatLogoUrl;
 }
Exemplo n.º 3
0
 public Builder BusinessHours(Models.BusinessHours value)
 {
     businessHours = value;
     return(this);
 }
Exemplo n.º 4
0
 public Builder BusinessHours(Models.BusinessHours businessHours)
 {
     this.businessHours = businessHours;
     return(this);
 }