public static Response <DirectCredit> Create(string bsb, string account_number, string account_name, decimal amount, string reference, string description, DateTime date) { var req = new Requests.DirectEntry { BSB = bsb, AccountNumber = account_number, AccountName = account_name, Amount = amount, Description = description, Reference = reference, Date = date, TestMode = Gateway.TestMode }; return(Gateway.Post <DirectCredit>("direct_credits.json", req)); }
public static Response<DirectCredit> Create(string bsb, string account_number, string account_name, decimal amount, string reference, string description, DateTime date) { var req = new Requests.DirectEntry { BSB = bsb, AccountNumber = account_number, AccountName = account_name, Amount = amount, Description = description, Reference = reference, Date = date, TestMode = Gateway.TestMode }; return Gateway.Post<DirectCredit>("direct_credits.json", req); }