AndroidPayQuickstart.ItemInfo.ItemInfo C# (CSharp) Method

ItemInfo() public method

public ItemInfo ( string name, string description, long price, long shippingPrice, string currencyCode, string sellerData, int imageResourceId ) : System
name string
description string
price long
shippingPrice long
currencyCode string
sellerData string
imageResourceId int
return System
        public ItemInfo (string name, string description, long price, long shippingPrice,
            string currencyCode, string sellerData, int imageResourceId) {
            Name = name;
            Description = description;
            PriceMicros = price;
            EstimatedTaxMicros = (int) (price * 0.10);
            TaxMicros = (int) (price * 0.10);
            // put in an estimated shipping price
            EstimatedShippingPriceMicros = 10000000L;
            ShippingPriceMicros = shippingPrice;
            CurrencyCode = currencyCode;
            SellerData = sellerData;
            ImageResourceId = imageResourceId;
        }