NAME
Business::Giropay::Role::Response - Moo::Role consumed by all Response classes
ATTRIBUTES
json
The json message data returned from giropay. Required.
data
"json" data converted to a hash reference.
rc
Response code / error number.
msg
Additional information on error (possibly empty).
hash
The HMAC hash of the returned message. Required.
secret
The Giropay shared secret for current /merchantId
and /projectId
,
success
Boolean response indicating whether "rc" indicates success.
METHODS
BUILD
Check that the hash matches what we expect. Die on mismatch