Class: CheckoutSdk::VoidPayment

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/data/void_payment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id.



2
3
4
# File 'lib/checkout_sdk/data/void_payment.rb', line 2

def id
  @id
end

#metadataObject

Returns the value of attribute metadata.



2
3
4
# File 'lib/checkout_sdk/data/void_payment.rb', line 2

def 
  @metadata
end

#referenceObject

Returns the value of attribute reference.



2
3
4
# File 'lib/checkout_sdk/data/void_payment.rb', line 2

def reference
  @reference
end

Instance Method Details

#dataObject



4
5
6
7
8
9
# File 'lib/checkout_sdk/data/void_payment.rb', line 4

def data
  {
    reference: reference,
    metadata: 
  }
end