Class UserInteraction

java.lang.Object
org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
dev.vality.damsel.user_interaction.UserInteraction
All Implemented Interfaces:
Serializable, Comparable<UserInteraction>, org.apache.thrift.TBase<UserInteraction,UserInteraction._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class UserInteraction extends org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • deepCopy

      public UserInteraction deepCopy()
    • redirect

      public static UserInteraction redirect(BrowserHTTPRequest value)
    • payment_terminal_reciept

      public static UserInteraction payment_terminal_reciept(PaymentTerminalReceipt value)
    • crypto_currency_transfer_request

      public static UserInteraction crypto_currency_transfer_request(CryptoCurrencyTransferRequest value)
    • qr_code_display_request

      public static UserInteraction qr_code_display_request(QrCodeDisplayRequest value)
    • api_extension_request

      public static UserInteraction api_extension_request(ApiExtensionRequest value)
    • checkType

      protected void checkType(UserInteraction._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
      Throws:
      ClassCastException
    • standardSchemeReadValue

      protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
      Specified by:
      standardSchemeReadValue in class org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
      Throws:
      org.apache.thrift.TException
    • standardSchemeWriteValue

      protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      standardSchemeWriteValue in class org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeReadValue

      protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeReadValue in class org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeWriteValue

      protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeWriteValue in class org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

      protected org.apache.thrift.protocol.TField getFieldDesc(UserInteraction._Fields setField)
      Specified by:
      getFieldDesc in class org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
    • getStructDesc

      protected org.apache.thrift.protocol.TStruct getStructDesc()
      Specified by:
      getStructDesc in class org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
    • enumForId

      protected UserInteraction._Fields enumForId(short id)
      Specified by:
      enumForId in class org.apache.thrift.TUnion<UserInteraction,UserInteraction._Fields>
    • getFields

      public UserInteraction._Fields[] getFields()
    • getFieldMetaData

      public Map<UserInteraction._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
    • fieldForId

      public UserInteraction._Fields fieldForId(int fieldId)
    • getRedirect

      public BrowserHTTPRequest getRedirect()
      Требование переадресовать user agent пользователя, в виде HTTP-запроса. В шаблонах в структуре HTTP-запроса могут встретиться следующие переменные: - `termination_uri` URI, на который следует переадресовать user agent пользователя по завершении взаимодействия.
    • setRedirect

      public void setRedirect(BrowserHTTPRequest value)
      Требование переадресовать user agent пользователя, в виде HTTP-запроса. В шаблонах в структуре HTTP-запроса могут встретиться следующие переменные: - `termination_uri` URI, на который следует переадресовать user agent пользователя по завершении взаимодействия.
    • getPaymentTerminalReciept

      public PaymentTerminalReceipt getPaymentTerminalReciept()
      Информация о платежной квитанции, которую нужно оплатить вне нашей системы
    • setPaymentTerminalReciept

      public void setPaymentTerminalReciept(PaymentTerminalReceipt value)
      Информация о платежной квитанции, которую нужно оплатить вне нашей системы
    • getCryptoCurrencyTransferRequest

      public CryptoCurrencyTransferRequest getCryptoCurrencyTransferRequest()
      Запрос на перевод криптовалюты
    • setCryptoCurrencyTransferRequest

      public void setCryptoCurrencyTransferRequest(CryptoCurrencyTransferRequest value)
      Запрос на перевод криптовалюты
    • getQrCodeDisplayRequest

      public QrCodeDisplayRequest getQrCodeDisplayRequest()
      Запрос на отображение пользователю QR-кода
    • setQrCodeDisplayRequest

      public void setQrCodeDisplayRequest(QrCodeDisplayRequest value)
      Запрос на отображение пользователю QR-кода
    • getApiExtensionRequest

      public ApiExtensionRequest getApiExtensionRequest()
      Запрос на использование расширенной версии API
    • setApiExtensionRequest

      public void setApiExtensionRequest(ApiExtensionRequest value)
      Запрос на использование расширенной версии API
    • isSetRedirect

      public boolean isSetRedirect()
    • isSetPaymentTerminalReciept

      public boolean isSetPaymentTerminalReciept()
    • isSetCryptoCurrencyTransferRequest

      public boolean isSetCryptoCurrencyTransferRequest()
    • isSetQrCodeDisplayRequest

      public boolean isSetQrCodeDisplayRequest()
    • isSetApiExtensionRequest

      public boolean isSetApiExtensionRequest()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(UserInteraction other)
    • compareTo

      public int compareTo(UserInteraction other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object