Class: GOBL::Pay::Online

Inherits:
Object show all
Defined in:
lib/generated/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'

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

#keyGOBL::CBC::Key (readonly)

Key identifier for this online payment method.

Returns:



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

property :key, GOBL::CBC::Key

#labelString (readonly)

Descriptive label for the online provider.

Returns:

  • (String)


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

property :label, String

#urlString (readonly)

URL to be used for payment.

Returns:

  • (String)


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

property :url, String