Testing.SalesTaxRate.CreateSalesTaxRate C# (CSharp) Method

CreateSalesTaxRate() public static method

Create a new SalesTaxRate object.
public static CreateSalesTaxRate ( global salesTaxRateID, global stateProvinceID, global taxType, global taxRate, global name, global rowguid, global modifiedDate ) : SalesTaxRate
salesTaxRateID global Initial value of the SalesTaxRateID property.
stateProvinceID global Initial value of the StateProvinceID property.
taxType global Initial value of the TaxType property.
taxRate global Initial value of the TaxRate property.
name global Initial value of the Name property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
return SalesTaxRate
        public static SalesTaxRate CreateSalesTaxRate(global::System.Int32 salesTaxRateID, global::System.Int32 stateProvinceID, global::System.Byte taxType, global::System.Decimal taxRate, global::System.String name, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            SalesTaxRate salesTaxRate = new SalesTaxRate();
            salesTaxRate.SalesTaxRateID = salesTaxRateID;
            salesTaxRate.StateProvinceID = stateProvinceID;
            salesTaxRate.TaxType = taxType;
            salesTaxRate.TaxRate = taxRate;
            salesTaxRate.Name = name;
            salesTaxRate.rowguid = rowguid;
            salesTaxRate.ModifiedDate = modifiedDate;
            return salesTaxRate;
        }