public class BrandRegistrationCreator extends Creator<BrandRegistration>
Constructor and Description |
---|
BrandRegistrationCreator(String customerProfileBundleSid,
String a2PProfileBundleSid)
Construct a new BrandRegistrationCreator.
|
Modifier and Type | Method and Description |
---|---|
BrandRegistration |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
BrandRegistrationCreator |
setBrandType(String brandType)
Type of brand being created.
|
BrandRegistrationCreator |
setMock(Boolean mock)
A boolean that specifies whether brand should be a mock or not.
|
BrandRegistrationCreator |
setSkipAutomaticSecVet(Boolean skipAutomaticSecVet)
A flag to disable automatic secondary vetting for brands which it would
otherwise be done..
|
create, createAsync, createAsync
public BrandRegistrationCreator setBrandType(String brandType)
brandType
- Type of brand being created. One of: "STANDARD", "STARTER".public BrandRegistrationCreator setMock(Boolean mock)
mock
- A boolean that specifies whether brand should be a mock or not.
If true, brand will be registered as a mock brand. Defaults to
false if no value is provided.public BrandRegistrationCreator setSkipAutomaticSecVet(Boolean skipAutomaticSecVet)
skipAutomaticSecVet
- Skip Automatic Secondary Vettingpublic BrandRegistration create(TwilioRestClient client)
create
in class Creator<BrandRegistration>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.