forAccount method

PaymentsRequestBuilder forAccount (
  1. String accountId
)

Returns successful payments for a given account identified by accountId. See: Payments for Account

Implementation

PaymentsRequestBuilder forAccount(String accountId) {
  accountId = checkNotNull(accountId, "accountId cannot be null");
  this.setSegments(["accounts", accountId, "payments"]);
  return this;
}