Class PaymentGateway.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.common.PaymentGateway.Builder
- Enclosing class:
PaymentGateway
Represents a builder for the PaymentGateway class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the PaymentGateway instance.setExecutedAtUtc
(long value) Sets the UTC millis timestamp when the payment was executed.setInitiatedAtUtc
(Long value) Sets the UTC millis timestamp when the payment was initiated.setMethod
(PaymentMethod value) Sets the payment method.setProvider
(String value) Sets the payment provider.setReferenceId
(String value) Sets the reference ID of the payment.
-
Method Details
-
build
Builds the PaymentGateway instance.- Returns:
- The built PaymentGateway instance.
-
setMethod
Sets the payment method.- Parameters:
value
- The payment method to set.- Returns:
- The builder instance.
-
setProvider
Sets the payment provider.- Parameters:
value
- The payment provider to set.- Returns:
- The builder instance.
-
setExecutedAtUtc
Sets the UTC millis timestamp when the payment was executed.- Parameters:
value
- The UTC millis timestamp when the payment was executed to set.- Returns:
- The builder instance.
-
setInitiatedAtUtc
Sets the UTC millis timestamp when the payment was initiated.- Parameters:
value
- The UTC millis timestamp when the payment was initiated to set.- Returns:
- The builder instance.
-
setReferenceId
Sets the reference ID of the payment.- Parameters:
value
- The reference ID of the payment to set.- Returns:
- The builder instance.
-