Sha256: c1a95eecebbe795b09e01bbc44b499f1d253c0e71e0318072d0c16b74bde3d84

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

require_relative '../../common/jsonifier'

# Model object of request to cancel an action
class CancelRequest
  include MangoPay::Jsonifier

  # [String] Custom data to add with the operation
  attr_accessor :tag

  # [PaymentStatus] +CANCELED+ payment status
  attr_accessor :payment_status

  def initialize
    self.payment_status = MangoModel::PaymentStatus::CANCELED
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mangopay-v4-4.1.0 lib/mangopay/model/request/cancel_request.rb
mangopay-v4-4.0.2 lib/mangopay/model/request/cancel_request.rb
mangopay-v4-4.0.1 lib/mangopay/model/request/cancel_request.rb