Class TdApi.CanPurchaseFromStore

Enclosing class:
TdApi

public static class TdApi.CanPurchaseFromStore extends TdApi.Function<TdApi.Ok>
Checks whether an in-store purchase is possible. Must be called before any in-store purchase.

Returns Ok

  • Field Details

  • Constructor Details

    • CanPurchaseFromStore

      public CanPurchaseFromStore()
      Default constructor for a function, which checks whether an in-store purchase is possible. Must be called before any in-store purchase.

      Returns Ok

    • CanPurchaseFromStore

      public CanPurchaseFromStore(TdApi.StorePaymentPurpose purpose)
      Creates a function, which checks whether an in-store purchase is possible. Must be called before any in-store purchase.

      Returns Ok

      Parameters:
      purpose - Transaction purpose.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR