Class PaymentGateway
java.lang.Object
com.sportradar.mbs.sdk.entities.common.PaymentGateway
Represents a payment gateway entity.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a builder for the PaymentGateway class. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionlongGets 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.BuilderCreates a new instance of the PaymentGateway.Builder class.voidsetExecutedAtUtc(long value) Sets the UTC millis timestamp when the payment was executed.voidsetInitiatedAtUtc(Long value) Sets the UTC millis timestamp when the payment was initiated.voidsetMethod(PaymentMethod value) Sets the payment method.voidsetProvider(String value) Sets the payment provider.voidsetReferenceId(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.
 
 -