Class TicketPartialCashoutDetails

java.lang.Object
com.sportradar.mbs.sdk.entities.cashout.CashoutDetails
com.sportradar.mbs.sdk.entities.cashout.TicketPartialCashoutDetails

public class TicketPartialCashoutDetails extends CashoutDetails
Represents the details of a partial cashout for a ticket.
  • Constructor Details

    • TicketPartialCashoutDetails

      public TicketPartialCashoutDetails()
  • Method Details

    • newBuilder

      public static TicketPartialCashoutDetails.Builder newBuilder()
      Returns a new instance of the Builder for creating TicketPartialCashoutDetails.
      Returns:
      a new instance of the Builder
    • getCode

      public int getCode()
      Returns the code of the partial cashout.
      Returns:
      the code of the partial cashout
    • setCode

      public void setCode(int value)
      Sets the code of the partial cashout.
      Parameters:
      value - the code of the partial cashout
    • getPercentage

      public BigDecimal getPercentage()
      Returns the percentage of the partial cashout.
      Returns:
      the percentage of the partial cashout
    • setPercentage

      public void setPercentage(BigDecimal value)
      Sets the percentage of the partial cashout.
      Parameters:
      value - the percentage of the partial cashout
    • getPayout

      public Payout[] getPayout()
      Returns the payouts of the partial cashout.
      Returns:
      the payouts of the partial cashout
    • setPayout

      public void setPayout(Payout[] value)
      Sets the payouts of the partial cashout.
      Parameters:
      value - the payouts of the partial cashout
    • getTicketSignature

      public String getTicketSignature()
      Returns the ticket signature of the partial cashout.
      Returns:
      the ticket signature of the partial cashout
    • setTicketSignature

      public void setTicketSignature(String value)
      Sets the ticket signature of the partial cashout.
      Parameters:
      value - the ticket signature of the partial cashout
    • getTicketId

      public String getTicketId()
      Returns the ticket ID of the partial cashout.
      Returns:
      the ticket ID of the partial cashout
    • setTicketId

      public void setTicketId(String value)
      Sets the ticket ID of the partial cashout.
      Parameters:
      value - the ticket ID of the partial cashout