NAME

Twilio::Rest::Supersim::V1::Sim::BillingPeriod - The BillingPeriod resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

for my $billing_period ($client->supersim->v1->sims($sim_sid)->billing_periods->read({}, 20)) {
  ...
}

DESCRIPTION

Billing Period for an IoT Super SIM

This file holds BillingPeriodList, BillingPeriodPage and BillingPeriodInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

BillingPeriodList

Returned by $client->supersim->v1->sims($sim_sid)->billing_periods. See also Twilio::ListResource.

read

my @records = $client->supersim->v1->sims($sim_sid)->billing_periods->read(\%options, $limit, $page_size);

Retrieve a list of Billing Periods for a Super SIM. Returns the records as a list, fetching as many pages as it needs.

stream

my $stream = $client->supersim->v1->sims($sim_sid)->billing_periods->stream(\%options, $limit, $page_size);

Takes the same arguments as "read", and returns a Twilio::Stream.

page

my $page = $client->supersim->v1->sims($sim_sid)->billing_periods->page(\%options, $page_size, $page_token, $page_number);

Fetches one page, and returns a Twilio::Page.

get_page

my $page = $client->supersim->v1->sims($sim_sid)->billing_periods->get_page($url);

Fetches the page at a URL given by Twilio.

BillingPeriodPage

A Twilio::Page of BillingPeriodInstance objects.

records_key

build_instance

Used by Twilio::Page.

BillingPeriodInstance

See also Twilio::InstanceResource.

Its fields are:

account_sid

The SID of the Account the Super SIM belongs to.

date_created

The date and time in GMT when the resource was created specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

The date and time in GMT when the resource was last updated specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

end_time

The end time of the Billing Period specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

period_type

One of ready or active.

sid

The SID of the Billing Period.

sim_sid

The SID of the Super SIM the Billing Period belongs to.

start_time

The start time of the Billing Period specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.