NAME
Twilio::Rest::Trusthub::V1::TrustProductsProvisionalCopy - The TrustProductsProvisionalCopy resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $trust_products_provisional_copy = $client->trusthub->v1->trust_products_provisional_copy($trust_product_sid)->create();
my $trust_products_provisional_copy = $client->trusthub->v1->trust_products_provisional_copy($trust_product_sid)->fetch;
DESCRIPTION
This file holds TrustProductsProvisionalCopyContext and TrustProductsProvisionalCopyInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
TrustProductsProvisionalCopyContext
Returned by $client->trusthub->v1->trust_products_provisional_copy($trust_product_sid). It makes no request until one of these methods is called.
create
my $trust_products_provisional_copy = $client->trusthub->v1->trust_products_provisional_copy($trust_product_sid)->create();
Create the provisional copy for a given trust product with status: TWILIO_APPROVED, this is useful for making updates to an existing immutable trust product instance. Returns a TrustProductsProvisionalCopyInstance.
fetch
my $trust_products_provisional_copy = $client->trusthub->v1->trust_products_provisional_copy($trust_product_sid)->fetch;
Fetch the provisional copy of a given trust product. Returns a TrustProductsProvisionalCopyInstance.
TrustProductsProvisionalCopyInstance
See also Twilio::InstanceResource.
It has create and fetch, which work as they do on the context.
Its fields are:
- account_sid
-
The unique SID identifier of the Account.
- date_created
-
The date that this Trust Products Provisional Copy was created, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
The date that this Trust Products Provisional Copy was updated, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
-
The email address that will receive updates when the trust product resource changes status.
- friendly_name
-
A human readable description of this resource, up to 64 characters.
- policy_sid
-
The unique SID identifier of the Policy.
- status
-
The verification status of the Customer-Profile resource.
- status_callback
-
The URL we call to inform your application of status changes.
- trust_product_sid
-
The unique SID identifier of the Trust Product.
- url
-
The URL of this resource.
- valid_until
-
The date and time in GMT in ISO 8601 format when the resource will be valid until. 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.