-
public final class ExternalPurchaseNoticeResultIOSResult of presenting external purchase notice sheet (iOS 17.4+) Returns the token when user continues to external purchase.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classExternalPurchaseNoticeResultIOS.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringerrorprivate final StringexternalPurchaseTokenprivate final ExternalPurchaseNoticeActionresult
-
Constructor Summary
Constructors Constructor Description ExternalPurchaseNoticeResultIOS(String error, String externalPurchaseToken, ExternalPurchaseNoticeAction result)
-
Method Summary
Modifier and Type Method Description final StringgetError()Optional error message if the presentation failed final StringgetExternalPurchaseToken()External purchase token returned when user continues (iOS 17.4+). final ExternalPurchaseNoticeActiongetResult()Notice result indicating user action final Map<String, Object>toJson()-
-
Constructor Detail
-
ExternalPurchaseNoticeResultIOS
ExternalPurchaseNoticeResultIOS(String error, String externalPurchaseToken, ExternalPurchaseNoticeAction result)
-
-
Method Detail
-
getExternalPurchaseToken
final String getExternalPurchaseToken()
External purchase token returned when user continues (iOS 17.4+). This token should be reported to Apple's External Purchase Server API. Only present when result is Continue.
-
getResult
final ExternalPurchaseNoticeAction getResult()
Notice result indicating user action
-
-
-
-