Class: Payment::Gateways::Paypal::ReceiptResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/payment/gateways/paypal.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success: nil, receipt: nil) ⇒ ReceiptResult

Returns a new instance of ReceiptResult.



14
# File 'app/services/payment/gateways/paypal.rb', line 14

def initialize(success: nil, receipt: nil) = super

Instance Attribute Details

#receiptObject (readonly)

Returns the value of attribute receipt

Returns:

  • (Object)

    the current value of receipt



13
14
15
# File 'app/services/payment/gateways/paypal.rb', line 13

def receipt
  @receipt
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



13
14
15
# File 'app/services/payment/gateways/paypal.rb', line 13

def success
  @success
end