| CLASS info |
| public class CreateWalletPassRequest extends Objects implements Parcelable |
| Creates a pass request. It is recommended that you instantiate CreateWalletPassRequest by using the JWT parameterized constructor so that the JWT will be encapsulated into the format required by HMS Core. Then, the request will be made by using WalletPassClient. |
| Type | Name | Desc |
| class | CreateWalletPassRequest.Builder | Builder to create a pass request. |
| Constructor name |
public CreateWalletPassRequest(String jwt) Instantiates the pass request object by using the parameterized constructor. The parameter used by the constructor is jwt String. |
| Return type | Method name |
| static CreateWalletPassRequest.Builder | getBuilder() Instantiates CreateWalletPassRequest.Builder. |
| void | writeToParcel(Parcel dest, int flags) |
| String | getWalletPassJwtJson() Obtains a JWT. |
| constructor |
public CreateWalletPassRequest(String jwt) |
| Creates a JWT. This is the recommended method. For example, instantiate PassObject, call toJson() to obtain the JSON string for creating the JWT, and then convert the JSON string to the JWT on your server. Finally, instantiate the JWT by calling CreateWalletPassRequest(String jwt). |
Parameters
| Parameter name | Parameter desc |
| String | JWT. To create a JWT, provide issuerId, privateKey, and the JSON string of the current pass. |
| Method |
public static CreateWalletPassRequest.Builder getBuilder() |
| Creates a request object using the builder method. |
| Method |
public void writeToParcel(Parcel dest, int flags) |
| Flattens the object into a Parcel. |
| Method |
public String getWalletPassJwtJson() |
| Obtains a JWT. |