/// <summary> /// Initializes a new instance of the PaymentItem class. /// </summary> /// <param name="label">Human-readable description of the item</param> /// <param name="amount">Monetary amount for the item</param> /// <param name="pending">When set to true this flag means that the /// amount field is not final.</param> public PaymentItem(string label = default(string), PaymentCurrencyAmount amount = default(PaymentCurrencyAmount), bool?pending = default(bool?)) { Label = label; Amount = amount; Pending = pending; CustomInit(); }
/// <summary> /// Initializes a new instance of the <see cref="PaymentShippingOption"/> class. /// </summary> /// <param name="id">String identifier used to reference this /// PaymentShippingOption.</param> /// <param name="label">Human-readable description of the item.</param> /// <param name="amount">Contains the monetary amount for the /// item.</param> /// <param name="selected">Indicates whether this is the default /// selected PaymentShippingOption.</param> public PaymentShippingOption(string id = default(string), string label = default(string), PaymentCurrencyAmount amount = default(PaymentCurrencyAmount), bool?selected = default(bool?)) { Id = id; Label = label; Amount = amount; Selected = selected; CustomInit(); }