Class TransactionPartner

java.lang.Object
io.github.natanimn.telebof.types.payments.TransactionPartner

public class TransactionPartner extends Object
This class describes the source of a transaction, or its recipient for outgoing transactions.
Since:
3 March 2025
  • Constructor Details

    • TransactionPartner

      public TransactionPartner()
  • Method Details

    • getType

      public TransactionPartnerType getType()
    • getTransactionType

      public String getTransactionType()
    • getInvoicePayload

      public String getInvoicePayload()
    • getUser

      public User getUser()
    • getWithdrawalState

      public RevenueWithdrawalState getWithdrawalState()
    • getPaidMedia

      public List<PaidMedia> getPaidMedia()
    • getRequestCount

      public Integer getRequestCount()
    • getSubscriptionPeriod

      public Integer getSubscriptionPeriod()
    • getGift

      public Gift getGift()
    • getAffiliate

      public AffiliateInfo getAffiliate()
    • getSponsorUser

      public User getSponsorUser()
    • getCommissionPerMille

      public Integer getCommissionPerMille()
    • getChat

      public Chat getChat()
    • getPremiumSubscriptionDuration

      public Integer getPremiumSubscriptionDuration()