Class BrandedCallCreator


  • public class BrandedCallCreator
    extends Creator<BrandedCall>
    PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
    • Constructor Detail

      • BrandedCallCreator

        public BrandedCallCreator​(String from,
                                  String to,
                                  String reason)
        Construct a new BrandedCallCreator.
        Parameters:
        from - Twilio number from which to brand the call
        to - The terminating Phone Number
        reason - The business reason for this phone call
    • Method Detail

      • create

        public BrandedCall create​(TwilioRestClient client)
        Make the request to the Twilio API to perform the create.
        Specified by:
        create in class Creator<BrandedCall>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Created BrandedCall