目录

Method
public class RelatedPassInfo extends WalletParcelable
PassTypeIdentifier and organizationPassId, through which the coupons linked with a pass are queried. By clicking the number of linked coupons on the loyalty card details page, users can be navigated to the coupon details page.

Public Constructor Summary

Constructor name

public RelatedPassInfo(String passClassId, String passId) 

Instantiates RelatedPassInfo by using the parameterized constructor.

Public Method Summary

Return typeMethod name
PassStatus.Builder

public String getTypeId()

Obtains the type of a coupon.

String

getId()

Obtains the ID of a coupon.

void

setPassClassId(String passClassId)

Sets the type of a coupon.

void

setPassId(String passId)

Sets the ID of a coupon.

Public Method

Method

public String getTypeId()

Obtains the type of a coupon, which is indicated by PassTypeIdentifier of PassObject.

Return

Typedesc
StringPassTypeIdentifier of PassObject.
Method

public String getId()

Obtains the ID of a coupon, which is indicated by organizationPassId of PassObject.

Return

Typedesc
StringorganizationPassId of PassObject.
Method

public void setPassClassId(String passClassId)

Sets the type of a coupon, which is indicated by PassTypeIdentifier of PassObject.

Parameters

Parameter nameParameter desc
passClassIdPassTypeIdentifier of PassObject.
Method

public void setPassId(String passId)

Sets the ID of a coupon, which is indicated by organizationPassId of PassObject.

Parameters

Parameter nameParameter desc
passClassIdorganizationPassId of PassObject.