Method: OrderCloud::SpendingAccountApi#list_assignments

Defined in:
lib/order_cloud/api/spending_account_api.rb

#list_assignments(buyer_id, opts = {}) ⇒ ListSpendingAccountAssignment

Parameters:

  • buyer_id

    ID of the buyer.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :spending_account_id (String)

    ID of the spending account.

  • :user_id (String)

    ID of the user.

  • :user_group_id (String)

    ID of the user group.

  • :level (String)

    Level of the spending account.

  • :page (Integer)

    Page of results to return. Default: 1

  • :page_size (Integer)

    Number of results to return per page. Default: 20, max: 100.

Returns:



368
369
370
371
# File 'lib/order_cloud/api/spending_account_api.rb', line 368

def list_assignments(buyer_id, opts = {})
  data, _status_code, _headers = list_assignments_with_http_info(buyer_id, opts)
  return data
end