class

PaymentProcessor

Inherits Reference < Object

Constants

DEFAULT_FEE = 0.05
DEFAULT_URL = "http://payment-processor-default:8080"
FALLBACK_FEE = 0.15
FALLBACK_URL = "http://payment-processor-fallback:8080"

Constructors

Instance methods

check_health(processor : String)
Source
process_payment(correlation_id : String, amount : Float64, requested_at : Time)
Source