R6 Class representing billing groups resource endpoints.
Super class
sevenbridges2::Resource -> Billing_groups
Methods
Inherited methods
Method query()
List all your billing groups, including groups that are pending or have been disabled.
Arguments
limitThe maximum number of collection items to return for a single request. Minimum value is
1. The maximum value is100and the default value is50. This is a pagination-specific attribute.offsetThe zero-based starting index in the entire collection of the first item to return. The default value is
0. This is a pagination-specific attribute....Other arguments that can be passed to core
api()function like query parameters, 'fields', etc.
Returns
Collection of Billing groups.
Method get()
Retrieve a single billing group, specified by its ID.
To find the billing_group, use the call Billing_groups$query()
to list all your billing groups. The information returned
includes the billing group owner, the total balance, and the status of
the billing group (pending or confirmed).
Arguments
idThe ID of the billing group you are querying.
...Other arguments that can be passed to core
api()function like 'fields', etc.
Returns
Billing object.
Examples
## ------------------------------------------------
## Method `Billing_groups$query`
## ------------------------------------------------
if (FALSE) { # \dontrun{
billing_groups_object <- Billing_groups$new(
auth = auth
)
# List all your billing groups
billing_groups_object$query()
} # }
## ------------------------------------------------
## Method `Billing_groups$get`
## ------------------------------------------------
if (FALSE) { # \dontrun{
billing_groups_object <- Billing_groups$new(
auth = auth
)
# Get single billing group
billing_groups_object$get(id = id)
} # }