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.



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

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



10
11
12
# File 'app/services/payment/gateways/paypal.rb', line 10

def receipt
  @receipt
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



10
11
12
# File 'app/services/payment/gateways/paypal.rb', line 10

def success
  @success
end