Class PaymentRequestIntentBuilder.OfflineOptions

  • Enclosing class:
    PaymentRequestIntentBuilder

    public static class PaymentRequestIntentBuilder.OfflineOptions
    extends Object
    Offline options that allow the Integrator to control a transaction's offline state on a per-transaction level.
    • Method Detail

      • Instance

        public static PaymentRequestIntentBuilder.OfflineOptions Instance​(Boolean allowOfflinePayment,
                                                                          Boolean approveOfflinePaymentWithoutPrompt,
                                                                          Boolean forceOfflinePayment)
        Offline option that can be used per transaction
        Parameters:
        allowOfflinePayment - - if merchant is configured, will enable an offline payment
        approveOfflinePaymentWithoutPrompt - - if an offline payment is needed, it will allow it without prompting the merchant
        forceOfflinePayment - - take the payment offline, even if the device is online
        Returns: