forAccount method
- String accountId
Returns the offers for a given account by accountId
.
See: Payments for Account
Implementation
OffersRequestBuilder forAccount(String accountId) {
accountId = checkNotNull(accountId, "accountId cannot be null");
this.setSegments(["accounts", accountId, "offers"]);
return this;
}