Class: SolidusMollie::CreateOrderPayment::Result

Inherits:
Struct
  • Object
show all
Defined in:
app/services/solidus_mollie/create_order_payment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#checkout_urlObject

Returns the value of attribute checkout_url

Returns:

  • (Object)

    the current value of checkout_url



8
9
10
# File 'app/services/solidus_mollie/create_order_payment.rb', line 8

def checkout_url
  @checkout_url
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



8
9
10
# File 'app/services/solidus_mollie/create_order_payment.rb', line 8

def error
  @error
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/services/solidus_mollie/create_order_payment.rb', line 9

def success?
  error.nil?
end