lib/Mollie/API/Object/Payment.rb in mollie-api-ruby-1.2.2 vs lib/Mollie/API/Object/Payment.rb in mollie-api-ruby-1.3.0
- old
+ new
@@ -5,20 +5,29 @@
STATUS_OPEN = "open"
STATUS_CANCELLED = "cancelled"
STATUS_EXPIRED = "expired"
STATUS_PAID = "paid"
STATUS_PAIDOUT = "paidout"
+ STATUS_FAILED = "failed"
+ RECURRINGTYPE_NONE = nil
+ RECURRINGTYPE_FIRST = "first"
+ RECURRINGTYPE_RECURRING = "recurring"
+
attr_accessor :id,
:status,
:mode,
:amount,
:description,
:method,
:createdDatetime,
:paidDatetime,
:expiredDatetime,
:cancelledDatetime,
+ :customerId,
+ :recurringType,
+ :mandateId,
+ :settlementId,
:metadata,
:details,
:links
def open?