public static final class GetCardSmsLinkRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetCardSmsLinkRequest |
build() |
GetCardSmsLinkRequest.Builder |
cardCodeType(Integer cardCodeType)
The code type of the URLs.
|
GetCardSmsLinkRequest.Builder |
cardLinkType(Integer cardLinkType)
The type of the short URLs.
|
GetCardSmsLinkRequest.Builder |
cardTemplateCode(String cardTemplateCode)
The code of the message template.
|
GetCardSmsLinkRequest.Builder |
cardTemplateParamJson(String cardTemplateParamJson)
The variables of the message template.
|
GetCardSmsLinkRequest.Builder |
customShortCodeJson(String customShortCodeJson)
The custom short code.
|
GetCardSmsLinkRequest.Builder |
domain(String domain)
The original domain name.
|
GetCardSmsLinkRequest.Builder |
outId(String outId)
The extension field.
|
GetCardSmsLinkRequest.Builder |
phoneNumberJson(String phoneNumberJson)
The mobile phone numbers of recipients, custom identifiers, or system identifiers.
|
GetCardSmsLinkRequest.Builder |
signNameJson(String signNameJson)
The signature.
|
public GetCardSmsLinkRequest.Builder cardCodeType(Integer cardCodeType)
* **1**: group texting * **2**: personalization
public GetCardSmsLinkRequest.Builder cardLinkType(Integer cardLinkType)
* 1: standard short code. * 2: custom short code. > If the **CardLinkType** is not specified, standard short codes are generated. If you need to generate custom short codes, contact Alibaba Cloud SMS technical support.
public GetCardSmsLinkRequest.Builder cardTemplateCode(String cardTemplateCode)
> Make sure that the message template has been approved.
public GetCardSmsLinkRequest.Builder cardTemplateParamJson(String cardTemplateParamJson)
public GetCardSmsLinkRequest.Builder customShortCodeJson(String customShortCodeJson)
> If the CardLinkType parameter is set to 2, the CustomShortCodeJson parameter is required.
public GetCardSmsLinkRequest.Builder domain(String domain)
> * If the **CardLinkType** parameter is set to **2**, the **Domain** parameter is required. * The **Domain** parameter cannot exceed 100 characters in length. If the parameter is not specified, a default domain name is used.
public GetCardSmsLinkRequest.Builder outId(String outId)
public GetCardSmsLinkRequest.Builder phoneNumberJson(String phoneNumberJson)
> * A maximum of 10,000 mobile phone numbers are supported. * You can enter custom identifier. Each identifier can be a maximum of 60 characters in length. * You can apply for a maximum of 10 OPPO templates at a time.
public GetCardSmsLinkRequest.Builder signNameJson(String signNameJson)
> The signatures must be approved and correspond to the mobile numbers in sequence.
public GetCardSmsLinkRequest build()
Copyright © 2024. All rights reserved.