Class PaymentGateway

java.lang.Object
com.sportradar.mbs.sdk.entities.common.PaymentGateway

public class PaymentGateway extends Object
Represents a payment gateway entity.
  • Constructor Details

    • PaymentGateway

      public PaymentGateway()
  • Method Details

    • newBuilder

      public static PaymentGateway.Builder newBuilder()
      Creates a new instance of the PaymentGateway.Builder class.
      Returns:
      A new instance of the PaymentGateway.Builder class.
    • getMethod

      public PaymentMethod getMethod()
      Gets the payment method.
      Returns:
      The payment method.
    • setMethod

      public void setMethod(PaymentMethod value)
      Sets the payment method.
      Parameters:
      value - The payment method to set.
    • getProvider

      public String getProvider()
      Gets the payment provider.
      Returns:
      The payment provider.
    • setProvider

      public void setProvider(String value)
      Sets the payment provider.
      Parameters:
      value - The payment provider to set.
    • getExecutedAtUtc

      public long getExecutedAtUtc()
      Gets the UTC millis timestamp when the payment was executed.
      Returns:
      The UTC millis timestamp when the payment was executed.
    • setExecutedAtUtc

      public void setExecutedAtUtc(long value)
      Sets the UTC millis timestamp when the payment was executed.
      Parameters:
      value - The UTC millis timestamp when the payment was executed to set.
    • getInitiatedAtUtc

      public Long getInitiatedAtUtc()
      Gets the UTC millis timestamp when the payment was initiated.
      Returns:
      The UTC millis timestamp when the payment was initiated.
    • setInitiatedAtUtc

      public void setInitiatedAtUtc(Long value)
      Sets the UTC millis timestamp when the payment was initiated.
      Parameters:
      value - The UTC millis timestamp when the payment was initiated to set.
    • getReferenceId

      public String getReferenceId()
      Gets the reference ID of the payment.
      Returns:
      The reference ID of the payment.
    • setReferenceId

      public void setReferenceId(String value)
      Sets the reference ID of the payment.
      Parameters:
      value - The reference ID of the payment to set.