Class: Afterpay::Components::PaymentEvent

Inherits:
Base
  • Object
show all
Defined in:
lib/afterpay/components/payment_event.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Initializable

included, #initialize

Methods included from Representable

#as_json, included

Instance Attribute Details

#createdString

The payment event creation time (ISO 8601 UTC/Zulu time).

Returns:

  • (String)


9
10
11
# File 'lib/afterpay/components/payment_event.rb', line 9

def created
  @created
end

#typeString

The payment event type of ‘CAPTURE’, ‘VOID’

Returns:

  • (String)


14
15
16
# File 'lib/afterpay/components/payment_event.rb', line 14

def type
  @type
end