Package com.bandwidth.voice.bxml.verbs
Class Transfer.TransferBuilder
java.lang.Object
com.bandwidth.voice.bxml.verbs.Transfer.TransferBuilder
- Enclosing class:
- Transfer
public static class Transfer.TransferBuilder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description TransferBuilder()
-
Method Summary
Modifier and Type Method Description Transfer.TransferBuilder
phoneNumbers(PhoneNumber... phoneNumbers)
A collection of phone numbers to transfer the call to.Transfer.TransferBuilder
phoneNumbers(java.util.List<PhoneNumber> phoneNumbers)
A collection of phone numbers to transfer the call to.Transfer.TransferBuilder
transferCompleteMethod(Method method)
(optional) The HTTP method to use for the request to transferCompleteUrl.Transfer.TransferBuilder
transferCompleteMethod(java.lang.String method)
(optional) The HTTP method to use for the request to transferCompleteUrl.Transfer.TransferBuilder
transferCompleteUrl(java.lang.String uri)
(optional) URL to send the Transfer Complete event to and request new BXML.Transfer.TransferBuilder
transferCompleteUrl(java.net.URI uri)
(optional) URL to send the Transfer Complete event to and request new BXML.
-
Constructor Details
-
TransferBuilder
public TransferBuilder()
-
-
Method Details
-
transferCompleteUrl
(optional) URL to send the Transfer Complete event to and request new BXML. -
transferCompleteUrl
(optional) URL to send the Transfer Complete event to and request new BXML. Converts String using URI.create(uri) -
transferCompleteMethod
(optional) The HTTP method to use for the request to transferCompleteUrl. GET or POST. Default value is POST. -
transferCompleteMethod
(optional) The HTTP method to use for the request to transferCompleteUrl. GET or POST. Default value is POST. Converts from String using Method.fromValue(method) -
phoneNumbers
A collection of phone numbers to transfer the call to. The first to answer will be transferred. -
phoneNumbers
A collection of phone numbers to transfer the call to. The first to answer will be transferred.
-