public static AdditionalAmountInfoModel NewAdditionalAmountInfo(AdditionalAmountAccountTypeModel accountType, AdditionalAmountTypeModel type, CurrencyCodeTypeModel currency, AdditionalAmountSignTypeModel sign, long amount) { return(new AdditionalAmountInfoModel { AccountType = accountType, AmountType = type, Amount = amount, CurrencyCode = currency, Sign = sign }); }
public static void SetTerminalLocale(this Group1AuthorizationModel group1Authorization, CurrencyCodeTypeModel currency, CountryCodeTypeModel countryCode, LanguageIndicatorTypeModel languageIndicator, string zipCode, TimeZoneDifferentialModel timeZonDifferential) { group1Authorization.CurrencyCode = currency; group1Authorization.CountryCode = countryCode; group1Authorization.CityCode = zipCode; group1Authorization.LanguageIndicator = languageIndicator; group1Authorization.TimeZoneDiff = timeZonDifferential; }