Recurly.Account.NewAdjustment C# (CSharp) Method

NewAdjustment() public method

Returns a new adjustment (credit or charge) for this account
public NewAdjustment ( string currency, int unitAmountInCents, string description = "", int quantity = 1, string accountingCode = "", bool taxExempt = false ) : Adjustment
currency string Currency, 3-letter ISO code.
unitAmountInCents int Positive amount for a charge, negative amount for a credit. Max 10,000,000.
description string Description of the adjustment for the invoice.
quantity int Quantity, defaults to 1.
accountingCode string Accounting code. Max of 20 characters.
taxExempt bool
return Adjustment
        public Adjustment NewAdjustment(string currency, int unitAmountInCents, string description = "", int quantity = 1, string accountingCode = "", bool taxExempt = false)
        {
            // TODO All of the properties should be settable
            return new Adjustment(AccountCode, description, currency, unitAmountInCents, quantity, accountingCode, taxExempt);
        }