A new recipient details. The class is used as a SendingTarget for the
Send service
Parameters:
Name
|
Type
|
Required
|
Description
|
Recipient
|
Recipient
|
Yes
|
The recipient details
|
Java Code:
NewRecipientSendingTarget r = new NewRecipientSendingTarget();
r.setRecipient(recipient);
C# Code:
NewRecipientSendingTarget
r = new NewRecipientSendingTarget();
r.Recipient = recipient;
VB Code:
Dim r
As New NewRecipientSendingTarget()
r.Recipient = recipient
Raw Xml:
<target xsi:type="NewRecipientSendingTarget">
<Recipient>
<Id>0</Id>
<MobileNumber>972545405213</MobileNumber>
<Fields>
<CustomField>
<Id>1</Id>
<Value xsi:type="xsd:string">Tal</Value>
</CustomField>
</Fields>
</Recipient>
</target>