Esempio n. 1
0
 internal static BankTransactionExplanationWrapper Wrap(this BankTransactionExplanation bankTransactionExplanation)
 {
     return(new BankTransactionExplanationWrapper {
         BankTransactionExplanation = bankTransactionExplanation
     });
 }
Esempio n. 2
0
 public static Task <BankTransactionExplanation> CreateBankTransactionExplanationAsync(this FreeAgentClient client, BankTransactionExplanation explanation)
 {
     return(client.GetOrCreateAsync(c => c.CreateBankTransactionExplanation(client.Configuration.CurrentHeader, explanation.Wrap()), r => r.BankTransactionExplanation));
 }