public override ListCustomersResponse Execute <T>(T transaction) { base.Execute(transaction); //Needed to inject Authorization headers ITrnListCustomers data = (ITrnListCustomers)transaction; var response = customersApi.ListCustomers(data.PaginationCursor); return(response); }
public ListCustomersResponse ListCustomers(ITrnListCustomers data) { return(new CallListCustomers(customersApi).Execute(data)); }