Sha256: 29e9d8363784058b85c7cfa0e6b94d7fd33439213a4f4fbbf304bfba0ab8bea6

Contents?: true

Size: 446 Bytes

Versions: 3

Compression:

Stored size: 446 Bytes

Contents

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

# Model object for body of request to submit a UBO declaration for approval
class SubmitUboDeclarationRequest
  include MangoPay::Jsonifier

  # Id of the ubo declaration
  attr_accessor :id
  # [String] Custom data added with the request
  attr_accessor :tag

  def initialize(id, tag = nil)
    self.id = id
    self.tag = tag
    @status = MangoModel::UboDeclarationStatus::VALIDATION_ASKED
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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