Class: Payhub::WebhookEventPayload

Inherits:
Struct
  • Object
show all
Defined in:
lib/payhub/webhook.rb

Instance Attribute Summary collapse

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



31
32
33
# File 'lib/payhub/webhook.rb', line 31

def created_at
  @created_at
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



31
32
33
# File 'lib/payhub/webhook.rb', line 31

def id
  @id
end

#new_statusObject

Returns the value of attribute new_status

Returns:

  • (Object)

    the current value of new_status



31
32
33
# File 'lib/payhub/webhook.rb', line 31

def new_status
  @new_status
end

#payloadObject

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



31
32
33
# File 'lib/payhub/webhook.rb', line 31

def payload
  @payload
end

#payment_idObject

Returns the value of attribute payment_id

Returns:

  • (Object)

    the current value of payment_id



31
32
33
# File 'lib/payhub/webhook.rb', line 31

def payment_id
  @payment_id
end

#prev_statusObject

Returns the value of attribute prev_status

Returns:

  • (Object)

    the current value of prev_status



31
32
33
# File 'lib/payhub/webhook.rb', line 31

def prev_status
  @prev_status
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



31
32
33
# File 'lib/payhub/webhook.rb', line 31

def source
  @source
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



31
32
33
# File 'lib/payhub/webhook.rb', line 31

def type
  @type
end