Package apple.storekit.protocol
Interface SKPaymentQueueDelegate
-
public interface SKPaymentQueueDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanpaymentQueueShouldContinueTransactionInStorefront(SKPaymentQueue paymentQueue, SKPaymentTransaction transaction, SKStorefront newStorefront)Sent when a user has initiated a purchase of a Promoted IAP from the App Storedefault booleanpaymentQueueShouldShowPriceConsent(SKPaymentQueue paymentQueue)Sent if there is a pending price consent confirmation from the App Store for the current user.
-
-
-
Method Detail
-
paymentQueueShouldContinueTransactionInStorefront
default boolean paymentQueueShouldContinueTransactionInStorefront(SKPaymentQueue paymentQueue, SKPaymentTransaction transaction, SKStorefront newStorefront)
Sent when a user has initiated a purchase of a Promoted IAP from the App Store
-
paymentQueueShouldShowPriceConsent
default boolean paymentQueueShouldShowPriceConsent(SKPaymentQueue paymentQueue)
Sent if there is a pending price consent confirmation from the App Store for the current user. Return YES to immediately show the price consent UI. Return NO if you intend to show it at a later time. Defaults to YES. This may be called at any time that you have transaction observers on the payment queue, so make sure to set the delegate before adding any transaction observers if you intend to implement this method.
-
-