Class: GOBL::Pay::Card

Inherits:
Object show all
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

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#holderString (readonly)

Name of the person whom the card belongs to.



24
# File 'lib/generated/gobl/pay/card.rb', line 24

property :holder, String

#last4String (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