Class: GOBL::Pay::Card
- Defined in:
- lib/generated/gobl/pay/card.rb
Overview
Card contains simplified card holder data as a reference for the customer.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Card structure
'https://gobl.org/draft-0/pay/instructions#/$defs/Card'
Instance Attribute Summary collapse
-
#holder ⇒ String
readonly
Name of the person whom the card belongs to.
-
#last4 ⇒ String
readonly
Last 4 digits of the card’s Primary Account Number (PAN).
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#holder ⇒ String (readonly)
Name of the person whom the card belongs to.
24 |
# File 'lib/generated/gobl/pay/card.rb', line 24 property :holder, String |
#last4 ⇒ String (readonly)
Last 4 digits of the card’s Primary Account Number (PAN).
18 |
# File 'lib/generated/gobl/pay/card.rb', line 18 property :last4, String |