Class: GOBL::Pay::Online

Inherits:
Object show all
Defined in:
lib/gobl/pay/online.rb

Overview

Online provides the details required to make a payment online using a website

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Online structure

'https://gobl.org/draft-0/pay/instructions#/$defs/Online'

Constants included from Hashme

Hashme::Boolean

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

#addrString (readonly)

Full URL to be used for payment.

Returns:

  • (String)


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

property :addr, String

#nameString (readonly)

Descriptive name given to the online provider.

Returns:

  • (String)


19
# File 'lib/gobl/pay/online.rb', line 19

property :name, String