/// <summary>
 /// Initializes a new instance of the <see cref="ContactAttributes" /> class.
 /// </summary>
 /// <param name="Email">E-posta.</param>
 /// <param name="Name">Müşteri/tedarikçi ismi (required).</param>
 /// <param name="ShortName">ShortName.</param>
 /// <param name="ContactType">Tip.</param>
 /// <param name="TaxOffice">Vergi dairesi.</param>
 /// <param name="TaxNumber">Vergi numarası/TC kimlik no.</param>
 /// <param name="District">İlçe.</param>
 /// <param name="City">İl.</param>
 /// <param name="Address">Address.</param>
 /// <param name="Phone">Phone.</param>
 /// <param name="Fax">Fax.</param>
 /// <param name="IsAbroad">IsAbroad.</param>
 /// <param name="Archived">Archived.</param>
 /// <param name="Iban">Iban.</param>
 /// <param name="AccountType">AccountType (required).</param>
 public ContactAttributes(string Email = default(string), string Name = default(string), string ShortName = default(string), ContactTypeEnum?ContactType = default(ContactTypeEnum?), string TaxOffice = default(string), string TaxNumber = default(string), string District = default(string), string City = default(string), string Address = default(string), string Phone = default(string), string Fax = default(string), bool?IsAbroad = default(bool?), bool?Archived = default(bool?), string Iban = default(string), AccountTypeEnum?AccountType = default(AccountTypeEnum?))
 {
     // to ensure "Name" is required (not null)
     if (Name == null)
     {
         throw new InvalidDataException("Name is a required property for ContactAttributes and cannot be null");
     }
     else
     {
         this.Name = Name;
     }
     // to ensure "AccountType" is required (not null)
     if (AccountType == null)
     {
         throw new InvalidDataException("AccountType is a required property for ContactAttributes and cannot be null");
     }
     else
     {
         this.AccountType = AccountType;
     }
     this.Email       = Email;
     this.ShortName   = ShortName;
     this.ContactType = ContactType;
     this.TaxOffice   = TaxOffice;
     this.TaxNumber   = TaxNumber;
     this.District    = District;
     this.City        = City;
     this.Address     = Address;
     this.Phone       = Phone;
     this.Fax         = Fax;
     this.IsAbroad    = IsAbroad;
     this.Archived    = Archived;
     this.Iban        = Iban;
 }
Beispiel #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UserAttributes" /> class.
        /// </summary>
        /// <param name="EmailAddress">EmailAddress.</param>
        /// <param name="FirstName">FirstName.</param>
        /// <param name="LastName">LastName.</param>
        /// <param name="UserName">UserName.</param>
        /// <param name="DisplayName">DisplayName.</param>
        /// <param name="Department">Department.</param>
        /// <param name="Division">Division.</param>
        /// <param name="Title">Title.</param>
        /// <param name="WorkPhoneNumber">WorkPhoneNumber.</param>
        /// <param name="MobilePhoneNumber">MobilePhoneNumber.</param>
        /// <param name="SmsNumber">SmsNumber.</param>
        /// <param name="AccountType">AccountType.</param>
        /// <param name="Location">Location.</param>
        /// <param name="JobFunction">JobFunction.</param>
        /// <param name="AssetClasses">AssetClasses.</param>
        /// <param name="Industries">Industries.</param>
        public UserAttributes(string EmailAddress = null, string FirstName = null, string LastName = null, string UserName = null, string DisplayName = null, string Department = null, string Division = null, string Title = null, string WorkPhoneNumber = null, string MobilePhoneNumber = null, string SmsNumber = null, AccountTypeEnum?AccountType = null, string Location = null, string JobFunction = null, List <string> AssetClasses = null, List <string> Industries = null)
        {
            this.EmailAddress = EmailAddress;

            this.FirstName = FirstName;

            this.LastName = LastName;

            this.UserName = UserName;

            this.DisplayName = DisplayName;

            this.Department = Department;

            this.Division = Division;

            this.Title = Title;

            this.WorkPhoneNumber = WorkPhoneNumber;

            this.MobilePhoneNumber = MobilePhoneNumber;

            this.SmsNumber = SmsNumber;

            this.AccountType = AccountType;

            this.Location = Location;

            this.JobFunction = JobFunction;

            this.AssetClasses = AssetClasses;

            this.Industries = Industries;
        }
 public static SelectList GetSelectList(AccountTypeEnum?selected, int languageId)
 {
     lock (lockObject)
     {
         if (selectDictionary.ContainsKey(languageId) == false)
         {
             selectDictionary.Add(languageId, GetSelectListInner());
         }
         var selectList = new SelectList(selectDictionary[languageId], "Item1", "Item2", selected);
         return(selectList);
     }
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DetailedUserInfo" /> class.
 /// </summary>
 /// <param name="AccountType">Type of account to which the user belongs (null if no account).</param>
 /// <param name="Company">The name of company of the user.</param>
 /// <param name="Email">The email address of the user.</param>
 /// <param name="FirstName">The first name of the user.</param>
 /// <param name="Id">A unique identifier of the user resource for REST APIs as issued by Sign..</param>
 /// <param name="Initials">The initials of the user.</param>
 /// <param name="IsAccountAdmin">True if the user is account admin.</param>
 /// <param name="LastName">The last name of the user.</param>
 /// <param name="Locale">The UI locale of the user.</param>
 /// <param name="Phone">The phone number of the user.</param>
 /// <param name="Status">Status of the user.</param>
 /// <param name="Title">The job title of the user.</param>
 public DetailedUserInfo(AccountTypeEnum?AccountType = default(AccountTypeEnum?), string Company = default(string), string Email = default(string), string FirstName = default(string), string Id = default(string), string Initials = default(string), bool?IsAccountAdmin = default(bool?), string LastName = default(string), string Locale = default(string), string Phone = default(string), StatusEnum?Status = default(StatusEnum?), string Title = default(string))
 {
     this.AccountType    = AccountType;
     this.Company        = Company;
     this.Email          = Email;
     this.FirstName      = FirstName;
     this.Id             = Id;
     this.Initials       = Initials;
     this.IsAccountAdmin = IsAccountAdmin;
     this.LastName       = LastName;
     this.Locale         = Locale;
     this.Phone          = Phone;
     this.Status         = Status;
     this.Title          = Title;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountAttributes" /> class.
 /// </summary>
 /// <param name="Name">Hesap ismi (required).</param>
 /// <param name="Currency">Döviz cinsi.</param>
 /// <param name="AccountType">Hesap tipi.</param>
 /// <param name="BankName">Banka ismi.</param>
 /// <param name="BankBranch">Banka şubesi.</param>
 /// <param name="BankAccountNo">Banka hesap no.</param>
 /// <param name="Iban">IBAN.</param>
 /// <param name="Archived">Archived.</param>
 public AccountAttributes(string Name = default(string), CurrencyEnum?Currency = default(CurrencyEnum?), AccountTypeEnum?AccountType = default(AccountTypeEnum?), string BankName = default(string), string BankBranch = default(string), string BankAccountNo = default(string), string Iban = default(string), bool?Archived = default(bool?))
 {
     // to ensure "Name" is required (not null)
     if (Name == null)
     {
         throw new InvalidDataException("Name is a required property for AccountAttributes and cannot be null");
     }
     else
     {
         this.Name = Name;
     }
     this.Currency      = Currency;
     this.AccountType   = AccountType;
     this.BankName      = BankName;
     this.BankBranch    = BankBranch;
     this.BankAccountNo = BankAccountNo;
     this.Iban          = Iban;
     this.Archived      = Archived;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountAttributes" /> class.
 /// </summary>
 /// <param name="name">Hesap ismi (required).</param>
 /// <param name="currency">Döviz cinsi.</param>
 /// <param name="accountType">Hesap tipi.</param>
 /// <param name="bankName">Banka ismi.</param>
 /// <param name="bankBranch">Banka şubesi.</param>
 /// <param name="bankAccountNo">Banka hesap no.</param>
 /// <param name="iban">IBAN.</param>
 /// <param name="archived">archived.</param>
 public AccountAttributes(string name = default(string), CurrencyEnum?currency = default(CurrencyEnum?), AccountTypeEnum?accountType = default(AccountTypeEnum?), string bankName = default(string), string bankBranch = default(string), string bankAccountNo = default(string), string iban = default(string), bool?archived = default(bool?))
 {
     // to ensure "name" is required (not null)
     if (name == null)
     {
         throw new InvalidDataException("name is a required property for AccountAttributes and cannot be null");
     }
     else
     {
         this.Name = name;
     }
     this.Currency      = currency;
     this.AccountType   = accountType;
     this.BankName      = bankName;
     this.BankBranch    = bankBranch;
     this.BankAccountNo = bankAccountNo;
     this.Iban          = iban;
     this.Archived      = archived;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountInfo" /> class.
 /// </summary>
 /// <param name="accountAgeIndicator">Indicator for the length of time since this shopper account was created in the merchant&#x27;s environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days.</param>
 /// <param name="accountChangeDate">Date when the shopper&#x27;s account was last changed..</param>
 /// <param name="accountChangeIndicator">Indicator for the length of time since the shopper&#x27;s account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days.</param>
 /// <param name="accountCreationDate">Date when the shopper&#x27;s account was created..</param>
 /// <param name="accountType">Indicates the type of account. For example, for a multi-account card product. Allowed values: * notApplicable * credit * debit.</param>
 /// <param name="addCardAttemptsDay">Number of attempts the shopper tried to add a card to their account in the last day..</param>
 /// <param name="deliveryAddressUsageDate">Date the selected delivery address was first used..</param>
 /// <param name="deliveryAddressUsageIndicator">Indicator for the length of time since this delivery address was first used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days.</param>
 /// <param name="homePhone">Shopper&#x27;s home phone number (including the country code)..</param>
 /// <param name="mobilePhone">Shopper&#x27;s mobile phone number (including the country code)..</param>
 /// <param name="passwordChangeDate">Date when the shopper last changed their password..</param>
 /// <param name="passwordChangeIndicator">Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days.</param>
 /// <param name="pastTransactionsDay">Number of all transactions (successful and abandoned) from this shopper in the past 24 hours..</param>
 /// <param name="pastTransactionsYear">Number of all transactions (successful and abandoned) from this shopper in the past year..</param>
 /// <param name="paymentAccountAge">Date this payment method was added to the shopper&#x27;s account..</param>
 /// <param name="paymentAccountIndicator">Indicator for the length of time since this payment method was added to this shopper&#x27;s account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days.</param>
 /// <param name="purchasesLast6Months">Number of successful purchases in the last six months..</param>
 /// <param name="suspiciousActivity">Whether suspicious activity was recorded on this account..</param>
 /// <param name="workPhone">Shopper&#x27;s work phone number (including the country code)..</param>
 public AccountInfo(AccountAgeIndicatorEnum?accountAgeIndicator = default(AccountAgeIndicatorEnum?),
                    DateTime?accountChangeDate = default(DateTime?),
                    AccountChangeIndicatorEnum?accountChangeIndicator = default(AccountChangeIndicatorEnum?),
                    DateTime?accountCreationDate      = default(DateTime?),
                    AccountTypeEnum?accountType       = default(AccountTypeEnum?), int?addCardAttemptsDay = default(int?),
                    DateTime?deliveryAddressUsageDate = default(DateTime?),
                    DeliveryAddressUsageIndicatorEnum?deliveryAddressUsageIndicator =
                    default(DeliveryAddressUsageIndicatorEnum?), string homePhone   = default(string),
                    string mobilePhone = default(string), DateTime?passwordChangeDate = default(DateTime?),
                    PasswordChangeIndicatorEnum?passwordChangeIndicator = default(PasswordChangeIndicatorEnum?),
                    int?pastTransactionsDay    = default(int?), int?pastTransactionsYear = default(int?),
                    DateTime?paymentAccountAge = default(DateTime?),
                    PaymentAccountIndicatorEnum?paymentAccountIndicator = default(PaymentAccountIndicatorEnum?),
                    int?purchasesLast6Months = default(int?), bool?suspiciousActivity = default(bool?),
                    string workPhone         = default(string))
 {
     this.AccountAgeIndicator           = accountAgeIndicator;
     this.AccountChangeDate             = accountChangeDate;
     this.AccountChangeIndicator        = accountChangeIndicator;
     this.AccountCreationDate           = accountCreationDate;
     this.AccountType                   = accountType;
     this.AddCardAttemptsDay            = addCardAttemptsDay;
     this.DeliveryAddressUsageDate      = deliveryAddressUsageDate;
     this.DeliveryAddressUsageIndicator = deliveryAddressUsageIndicator;
     this.HomePhone               = homePhone;
     this.MobilePhone             = mobilePhone;
     this.PasswordChangeDate      = passwordChangeDate;
     this.PasswordChangeIndicator = passwordChangeIndicator;
     this.PastTransactionsDay     = pastTransactionsDay;
     this.PastTransactionsYear    = pastTransactionsYear;
     this.PaymentAccountAge       = paymentAccountAge;
     this.PaymentAccountIndicator = paymentAccountIndicator;
     this.PurchasesLast6Months    = purchasesLast6Months;
     this.SuspiciousActivity      = suspiciousActivity;
     this.WorkPhone               = workPhone;
 }
Beispiel #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Account" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Name">Name (required).</param>
 /// <param name="UserId">id of User (required).</param>
 /// <param name="AccountType">Customer, Giveup, House, Omnibus, Wash (required).</param>
 /// <param name="Active">Active (required).</param>
 /// <param name="ClearingHouseId">id of ClearingHouse (required).</param>
 /// <param name="RiskCategoryId">id of RiskCategory (required).</param>
 /// <param name="AutoLiqProfileId">id of AutoLiqProfile (required).</param>
 /// <param name="CftcNumber">CftcNumber.</param>
 /// <param name="MarginAccountType">Hedger, Speculator (required).</param>
 /// <param name="LegalStatus">Corporation, GP, IRA, Individual, Joint, LLC, LLP, LP, Trust (required).</param>
 /// <param name="_Readonly">_Readonly.</param>
 public Account(int?Id = null, string Name = null, int?UserId = null, AccountTypeEnum?AccountType = null, bool?Active = null, int?ClearingHouseId = null, int?RiskCategoryId = null, int?AutoLiqProfileId = null, string CftcNumber = null, MarginAccountTypeEnum?MarginAccountType = null, LegalStatusEnum?LegalStatus = null, bool?_Readonly = null)
 {
     // to ensure "Name" is required (not null)
     if (Name == null)
     {
         throw new InvalidDataException("Name is a required property for Account and cannot be null");
     }
     else
     {
         this.Name = Name;
     }
     // to ensure "UserId" is required (not null)
     if (UserId == null)
     {
         throw new InvalidDataException("UserId is a required property for Account and cannot be null");
     }
     else
     {
         this.UserId = UserId;
     }
     // to ensure "AccountType" is required (not null)
     if (AccountType == null)
     {
         throw new InvalidDataException("AccountType is a required property for Account and cannot be null");
     }
     else
     {
         this.AccountType = AccountType;
     }
     // to ensure "Active" is required (not null)
     if (Active == null)
     {
         throw new InvalidDataException("Active is a required property for Account and cannot be null");
     }
     else
     {
         this.Active = Active;
     }
     // to ensure "ClearingHouseId" is required (not null)
     if (ClearingHouseId == null)
     {
         throw new InvalidDataException("ClearingHouseId is a required property for Account and cannot be null");
     }
     else
     {
         this.ClearingHouseId = ClearingHouseId;
     }
     // to ensure "RiskCategoryId" is required (not null)
     if (RiskCategoryId == null)
     {
         throw new InvalidDataException("RiskCategoryId is a required property for Account and cannot be null");
     }
     else
     {
         this.RiskCategoryId = RiskCategoryId;
     }
     // to ensure "AutoLiqProfileId" is required (not null)
     if (AutoLiqProfileId == null)
     {
         throw new InvalidDataException("AutoLiqProfileId is a required property for Account and cannot be null");
     }
     else
     {
         this.AutoLiqProfileId = AutoLiqProfileId;
     }
     // to ensure "MarginAccountType" is required (not null)
     if (MarginAccountType == null)
     {
         throw new InvalidDataException("MarginAccountType is a required property for Account and cannot be null");
     }
     else
     {
         this.MarginAccountType = MarginAccountType;
     }
     // to ensure "LegalStatus" is required (not null)
     if (LegalStatus == null)
     {
         throw new InvalidDataException("LegalStatus is a required property for Account and cannot be null");
     }
     else
     {
         this.LegalStatus = LegalStatus;
     }
     this.Id         = Id;
     this.CftcNumber = CftcNumber;
     this._Readonly  = _Readonly;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Bank" /> class.
 /// </summary>
 /// <param name="FirstName">FirstName (required).</param>
 /// <param name="LastName">LastName (required).</param>
 /// <param name="RoutingNumber">RoutingNumber (required).</param>
 /// <param name="AccountNumber">AccountNumber (required).</param>
 /// <param name="AccountType">AccountType (required).</param>
 /// <param name="AccountCategory">AccountCategory (required).</param>
 public Bank(string FirstName = default(string), string LastName = default(string), decimal?RoutingNumber = default(decimal?), string AccountNumber = default(string), AccountTypeEnum?AccountType = default(AccountTypeEnum?), AccountCategoryEnum?AccountCategory = default(AccountCategoryEnum?))
 {
     // to ensure "FirstName" is required (not null)
     if (FirstName == null)
     {
         throw new InvalidDataException("FirstName is a required property for Bank and cannot be null");
     }
     else
     {
         this.FirstName = FirstName;
     }
     // to ensure "LastName" is required (not null)
     if (LastName == null)
     {
         throw new InvalidDataException("LastName is a required property for Bank and cannot be null");
     }
     else
     {
         this.LastName = LastName;
     }
     // to ensure "RoutingNumber" is required (not null)
     if (RoutingNumber == null)
     {
         throw new InvalidDataException("RoutingNumber is a required property for Bank and cannot be null");
     }
     else
     {
         this.RoutingNumber = RoutingNumber;
     }
     // to ensure "AccountNumber" is required (not null)
     if (AccountNumber == null)
     {
         throw new InvalidDataException("AccountNumber is a required property for Bank and cannot be null");
     }
     else
     {
         this.AccountNumber = AccountNumber;
     }
     // to ensure "AccountType" is required (not null)
     if (AccountType == null)
     {
         throw new InvalidDataException("AccountType is a required property for Bank and cannot be null");
     }
     else
     {
         this.AccountType = AccountType;
     }
     // to ensure "AccountCategory" is required (not null)
     if (AccountCategory == null)
     {
         throw new InvalidDataException("AccountCategory is a required property for Bank and cannot be null");
     }
     else
     {
         this.AccountCategory = AccountCategory;
     }
 }
Beispiel #10
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TravelEntryForm" /> class.
        /// </summary>
        /// <param name="employeeId">Id of contact (Reisender) (required).</param>
        /// <param name="accountType">accountType(Beschaeftigungart). Default value is \&quot;Mitarbeiter\&quot; if not set by the user. .</param>
        /// <param name="documentnumber">documentNumber(Reisenummer). \&quot;documentNumber\&quot; if not provided a document number is generated. .</param>
        /// <param name="orderId">orderId(Auftrag).</param>
        /// <param name="dimensionNumber">dimensionNumber(Kostenstelle).</param>
        /// <param name="projectId">projectId(Projekt).</param>
        /// <param name="note">note(Anlass der Reise)..</param>
        /// <param name="startTs">start timestamp(Reisebeginn).\&quot;startTs\&quot; is a mandatory field. If not given it is not work. (required).</param>
        /// <param name="endTs">end timestamp(Reiseende).\&quot;endTs\&quot; is a mandatory field. If not given it is not work. (required).</param>
        /// <param name="startContactId">contactId(kontakt).</param>
        /// <param name="startStreet">startStreet and startNumber(straße und hausnummer).</param>
        /// <param name="startCity">startCity(stadt).</param>
        /// <param name="startPostcode">startPostcode(postleitzahl).</param>
        /// <param name="startCountry">startCountry(land).</param>
        /// <param name="startFederalState">startFederalState(bundesland).</param>
        /// <param name="street">street and number(straße und Hausnummer).</param>
        /// <param name="city">city(stadt).</param>
        /// <param name="postcode">postcode(postleitzahl).</param>
        /// <param name="country">county(land).</param>
        /// <param name="federalState">federalstate(bundesland).</param>
        /// <param name="internalNote">internal Note(Interne Notiz).</param>
        /// <param name="stateDone">stateDone(Durchgeführt) (default to false).</param>
        /// <param name="billable">billable(Fakturierbar) (default to false).</param>
        /// <param name="permissionType">0 &#x3D; Öffentlich, 1 &#x3D; Benutzerdefiniert, 2 &#x3D; Persönlich.</param>
        /// <param name="readPermissionProfiles">comma separated list of profiles for the read permissions, evaluated only if permissionType equals 1..</param>
        /// <param name="readPermissionLogins">comma separated list of user login emails for the read permissions, evaluated only if permissionType equals 1..</param>
        /// <param name="writePermissionProfiles">comma separated list of profiles for full access, evaluated only if permissionType equals 1..</param>
        /// <param name="writePermissionLogins">comma separated list of user login emails, evaluated only if permissionType equals 1..</param>
        public TravelEntryForm(long employeeId = default(long), AccountTypeEnum?accountType = default(AccountTypeEnum?), string documentnumber = default(string), long orderId = default(long), long dimensionNumber = default(long), long projectId = default(long), string note = default(string), long startTs = default(long), long endTs = default(long), long startContactId = default(long), string startStreet = default(string), string startCity = default(string), string startPostcode = default(string), string startCountry = default(string), string startFederalState = default(string), string street = default(string), string city = default(string), string postcode = default(string), string country = default(string), string federalState = default(string), string internalNote = default(string), bool stateDone = false, bool billable = false, long permissionType = default(long), string readPermissionProfiles = default(string), string readPermissionLogins = default(string), string writePermissionProfiles = default(string), string writePermissionLogins = default(string))
        {
            // to ensure "employeeId" is required (not null)
            if (employeeId == null)
            {
                throw new InvalidDataException("employeeId is a required property for TravelEntryForm and cannot be null");
            }
            else
            {
                this.EmployeeId = employeeId;
            }

            // to ensure "startTs" is required (not null)
            if (startTs == null)
            {
                throw new InvalidDataException("startTs is a required property for TravelEntryForm and cannot be null");
            }
            else
            {
                this.StartTs = startTs;
            }

            // to ensure "endTs" is required (not null)
            if (endTs == null)
            {
                throw new InvalidDataException("endTs is a required property for TravelEntryForm and cannot be null");
            }
            else
            {
                this.EndTs = endTs;
            }

            this.AccountType       = accountType;
            this.Documentnumber    = documentnumber;
            this.OrderId           = orderId;
            this.DimensionNumber   = dimensionNumber;
            this.ProjectId         = projectId;
            this.Note              = note;
            this.StartContactId    = startContactId;
            this.StartStreet       = startStreet;
            this.StartCity         = startCity;
            this.StartPostcode     = startPostcode;
            this.StartCountry      = startCountry;
            this.StartFederalState = startFederalState;
            this.Street            = street;
            this.City              = city;
            this.Postcode          = postcode;
            this.Country           = country;
            this.FederalState      = federalState;
            this.InternalNote      = internalNote;
            // use default value if no "stateDone" provided
            if (stateDone == null)
            {
                this.StateDone = false;
            }
            else
            {
                this.StateDone = stateDone;
            }
            // use default value if no "billable" provided
            if (billable == null)
            {
                this.Billable = false;
            }
            else
            {
                this.Billable = billable;
            }
            this.PermissionType          = permissionType;
            this.ReadPermissionProfiles  = readPermissionProfiles;
            this.ReadPermissionLogins    = readPermissionLogins;
            this.WritePermissionProfiles = writePermissionProfiles;
            this.WritePermissionLogins   = writePermissionLogins;
        }
Beispiel #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1Merchant" /> class.
 /// </summary>
 /// <param name="Id">The merchant account&#39;s unique identifier..</param>
 /// <param name="Name">The name associated with the merchant account..</param>
 /// <param name="Email">The email address associated with the merchant account..</param>
 /// <param name="AccountType">Indicates whether the merchant account corresponds to a single-location account (LOCATION) or a business account (BUSINESS). This value is almost always LOCATION..</param>
 /// <param name="AccountCapabilities">Capabilities that are enabled for the merchant&#39;s Square account. Capabilities that are not listed in this array are not enabled for the account..</param>
 /// <param name="CountryCode">The country associated with the merchant account, in ISO 3166-1-alpha-2 format..</param>
 /// <param name="LanguageCode">The language associated with the merchant account, in BCP 47 format..</param>
 /// <param name="CurrencyCode">The currency associated with the merchant account, in ISO 4217 format. For example, the currency code for US dollars is USD..</param>
 /// <param name="BusinessName">The name of the merchant&#39;s business..</param>
 /// <param name="BusinessAddress">The address of the merchant&#39;s business..</param>
 /// <param name="BusinessPhone">The phone number of the merchant&#39;s business..</param>
 /// <param name="BusinessType">The type of business operated by the merchant..</param>
 /// <param name="ShippingAddress_">The merchant&#39;s shipping address..</param>
 /// <param name="LocationDetails">LocationDetails.</param>
 /// <param name="MarketUrl">The URL of the merchant&#39;s online store..</param>
 public V1Merchant(string Id = default(string), string Name = default(string), string Email = default(string), AccountTypeEnum?AccountType = default(AccountTypeEnum?), List <string> AccountCapabilities = default(List <string>), string CountryCode = default(string), string LanguageCode = default(string), string CurrencyCode = default(string), string BusinessName = default(string), Address BusinessAddress = default(Address), V1PhoneNumber BusinessPhone = default(V1PhoneNumber), BusinessTypeEnum?BusinessType = default(BusinessTypeEnum?), Address ShippingAddress_ = default(Address), V1MerchantLocationDetails LocationDetails = default(V1MerchantLocationDetails), string MarketUrl = default(string))
 {
     this.Id                  = Id;
     this.Name                = Name;
     this.Email               = Email;
     this.AccountType         = AccountType;
     this.AccountCapabilities = AccountCapabilities;
     this.CountryCode         = CountryCode;
     this.LanguageCode        = LanguageCode;
     this.CurrencyCode        = CurrencyCode;
     this.BusinessName        = BusinessName;
     this.BusinessAddress     = BusinessAddress;
     this.BusinessPhone       = BusinessPhone;
     this.BusinessType        = BusinessType;
     this.ShippingAddress_    = ShippingAddress_;
     this.LocationDetails     = LocationDetails;
     this.MarketUrl           = MarketUrl;
 }