Class: OpenReceive::PaymentSettlement

Inherits:
Struct
  • Object
show all
Defined in:
lib/openreceive/configuration.rb

Overview

Passed to the quickstart config.on_paid inside the settlement transaction, only for the first settled attempt for a reference. (Named to avoid the core gem's OpenReceive::Settlement rules module; mirrors JS PaymentSettlement.) details carries the wallet-observed settlement details JS delivers to onPaid (transaction snapshot, observed_at, paid_at_source); may be nil for settlements recorded without wallet details.

Instance Attribute Summary collapse

Instance Attribute Details

#detailsObject

Returns the value of attribute details

Returns:

  • (Object)

    the current value of details



14
15
16
# File 'lib/openreceive/configuration.rb', line 14

def details
  @details
end

Returns the value of attribute paid_at

Returns:

  • (Object)

    the current value of paid_at



14
15
16
# File 'lib/openreceive/configuration.rb', line 14

def paid_at
  @paid_at
end

#payment_hashObject

Returns the value of attribute payment_hash

Returns:

  • (Object)

    the current value of payment_hash



14
15
16
# File 'lib/openreceive/configuration.rb', line 14

def payment_hash
  @payment_hash
end

#referenceObject

Returns the value of attribute reference

Returns:

  • (Object)

    the current value of reference



14
15
16
# File 'lib/openreceive/configuration.rb', line 14

def reference
  @reference
end