Class PaymentGateway
java.lang.Object
com.sportradar.mbs.sdk.entities.common.PaymentGateway
Represents a payment gateway entity.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a builder for the PaymentGateway class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the UTC millis timestamp when the payment was executed.Gets the UTC millis timestamp when the payment was initiated.Gets the payment method.Gets the payment provider.Gets the reference ID of the payment.static PaymentGateway.Builder
Creates a new instance of the PaymentGateway.Builder class.void
setExecutedAtUtc
(long value) Sets the UTC millis timestamp when the payment was executed.void
setInitiatedAtUtc
(Long value) Sets the UTC millis timestamp when the payment was initiated.void
setMethod
(PaymentMethod value) Sets the payment method.void
setProvider
(String value) Sets the payment provider.void
setReferenceId
(String value) Sets the reference ID of the payment.
-
Constructor Details
-
PaymentGateway
public PaymentGateway()
-
-
Method Details
-
newBuilder
Creates a new instance of the PaymentGateway.Builder class.- Returns:
- A new instance of the PaymentGateway.Builder class.
-
getMethod
Gets the payment method.- Returns:
- The payment method.
-
setMethod
Sets the payment method.- Parameters:
value
- The payment method to set.
-
getProvider
Gets the payment provider.- Returns:
- The payment provider.
-
setProvider
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
Gets the UTC millis timestamp when the payment was initiated.- Returns:
- The UTC millis timestamp when the payment was initiated.
-
setInitiatedAtUtc
Sets the UTC millis timestamp when the payment was initiated.- Parameters:
value
- The UTC millis timestamp when the payment was initiated to set.
-
getReferenceId
Gets the reference ID of the payment.- Returns:
- The reference ID of the payment.
-
setReferenceId
Sets the reference ID of the payment.- Parameters:
value
- The reference ID of the payment to set.
-