AdaptySDK 4.1.2
Loading...
Searching...
No Matches
AdaptySDK.AdaptyPurchaseParametersBuilder Class Referencesealed

Assembles an AdaptyPurchaseParameters. Every setter returns the builder, so calls chain; the constructor takes both values directly if that reads better. More...

Public Member Functions

AdaptyPurchaseParametersBuilder SetSubscriptionUpdateParams (AdaptySubscriptionUpdateParameters subscriptionUpdateParams)
 Sets AdaptyPurchaseParameters.SubscriptionUpdateParams. Android only.
AdaptyPurchaseParametersBuilder SetIsOfferPersonalized (bool? isOfferPersonalized)
 Sets AdaptyPurchaseParameters.IsOfferPersonalized. Android only.
AdaptyPurchaseParameters Build ()
 The parameters described by this builder.

Detailed Description

Assembles an AdaptyPurchaseParameters. Every setter returns the builder, so calls chain; the constructor takes both values directly if that reads better.

Member Function Documentation

◆ Build()

AdaptyPurchaseParameters AdaptySDK.AdaptyPurchaseParametersBuilder.Build ( )

The parameters described by this builder.

◆ SetIsOfferPersonalized()

AdaptyPurchaseParametersBuilder AdaptySDK.AdaptyPurchaseParametersBuilder.SetIsOfferPersonalized ( bool? isOfferPersonalized)

Sets AdaptyPurchaseParameters.IsOfferPersonalized. Android only.

Parameters
isOfferPersonalizedWhether the price shown was personalised to this user.

◆ SetSubscriptionUpdateParams()

AdaptyPurchaseParametersBuilder AdaptySDK.AdaptyPurchaseParametersBuilder.SetSubscriptionUpdateParams ( AdaptySubscriptionUpdateParameters subscriptionUpdateParams)

Sets AdaptyPurchaseParameters.SubscriptionUpdateParams. Android only.

Parameters
subscriptionUpdateParamsThe subscription this purchase replaces.

The documentation for this class was generated from the following file:
  • Packages/com.adapty.unity-sdk/Runtime/Models/AdaptyPurchaseParameters.cs