With Raw Response Impl
Functions
Link copied to clipboard
@MustBeClosed
open suspend override fun list(params: AccountListParams, requestOptions: RequestOptions): HttpResponseFor<AccountListPageAsync>
Returns a raw HTTP response for get /v1/accounts, but is otherwise the same as AccountServiceAsync.list.
Link copied to clipboard
@MustBeClosed
open suspend override fun retrieve(params: AccountRetrieveParams, requestOptions: RequestOptions): HttpResponseFor<Account>
@MustBeClosed
Returns a raw HTTP response for get /v1/accounts/{account_token}, but is otherwise the same as AccountServiceAsync.retrieve.
Link copied to clipboard
@MustBeClosed
open suspend override fun retrieveSpendLimits(params: AccountRetrieveSpendLimitsParams, requestOptions: RequestOptions): HttpResponseFor<AccountSpendLimits>
@MustBeClosed
Returns a raw HTTP response for get /v1/accounts/{account_token}/spend_limits, but is otherwise the same as AccountServiceAsync.retrieveSpendLimits.
Link copied to clipboard
@MustBeClosed
open suspend override fun update(params: AccountUpdateParams, requestOptions: RequestOptions): HttpResponseFor<Account>
@MustBeClosed
Returns a raw HTTP response for patch /v1/accounts/{account_token}, but is otherwise the same as AccountServiceAsync.update.
Link copied to clipboard
open override fun withOptions(modifier: (ClientOptions.Builder) -> Unit): AccountServiceAsync.WithRawResponse
Returns a view of this service with the given option modifications applied.