Class: PagSeguro::SubscriptionChangePayment
- Inherits:
-
Object
- Object
- PagSeguro::SubscriptionChangePayment
- Defined in:
- lib/pagseguro/subscription_change_payment.rb,
lib/pagseguro/subscription_change_payment/response.rb,
lib/pagseguro/subscription_change_payment/request_serializer.rb
Defined Under Namespace
Classes: RequestSerializer, Response
Instance Attribute Summary collapse
-
#sender ⇒ Object
Returns the value of attribute sender.
-
#subscription_code ⇒ Object
Returns the value of attribute subscription_code.
-
#subscription_payment_method ⇒ Object
Returns the value of attribute subscription_payment_method.
Attributes included from Extensions::Credentiable
Instance Method Summary collapse
Methods included from Extensions::MassAssignment
Methods included from Extensions::EnsureType
Instance Attribute Details
#sender ⇒ Object
Returns the value of attribute sender.
9 10 11 |
# File 'lib/pagseguro/subscription_change_payment.rb', line 9 def sender @sender end |
#subscription_code ⇒ Object
Returns the value of attribute subscription_code.
7 8 9 |
# File 'lib/pagseguro/subscription_change_payment.rb', line 7 def subscription_code @subscription_code end |
#subscription_payment_method ⇒ Object
Returns the value of attribute subscription_payment_method.
10 11 12 |
# File 'lib/pagseguro/subscription_change_payment.rb', line 10 def subscription_payment_method @subscription_payment_method end |
Instance Method Details
#errors ⇒ Object
24 25 26 |
# File 'lib/pagseguro/subscription_change_payment.rb', line 24 def errors @errors ||= Errors.new end |
#holder=(holder) ⇒ Object
16 17 18 |
# File 'lib/pagseguro/subscription_change_payment.rb', line 16 def holder=(holder) @holder = ensure_type(Holder, holder) end |