Class: Walletone::Recurrent::Payment

Inherits:
Payment show all
Defined in:
lib/walletone/recurrent/payment.rb

Constant Summary

Constants inherited from Payment

Payment::DEFAULT_CURRENTY, Payment::DESCRIPTION_TRUNCATE_LENGTH, Payment::FIELDS, Payment::MULTIPLE_VALUES, Payment::RUB_ISO_NUMBER

Instance Method Summary collapse

Methods inherited from Payment

#WMI_CURRENCY_ID, #WMI_DESCRIPTION, #WMI_EXPIRED_DATE, #WMI_PAYMENT_AMOUNT, #form, #sign!, #signed?

Methods inherited from Fields

#[], #[]=, #as_list, define_fields, #fetch, #initialize, #to_s

Constructor Details

This class inherits a constructor from Walletone::Fields

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/walletone/recurrent/payment.rb', line 4

def valid?
  super && self.WMI_CUSTOMER_ID && self.WMI_RECURRING_AGREEMENT_URL
end