Class: SubmitUboDeclarationRequest
- Inherits:
-
Object
- Object
- SubmitUboDeclarationRequest
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/request/submit_ubo_declaration_request.rb
Overview
Model object for body of request to submit a UBO declaration for approval
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#id ⇒ Object
Id of the ubo declaration.
-
#tag ⇒ Object
- String
-
Custom data added with the request.
Instance Method Summary collapse
-
#initialize(id, tag = nil) ⇒ SubmitUboDeclarationRequest
constructor
A new instance of SubmitUboDeclarationRequest.
Methods included from MangoPay::Jsonifier
Constructor Details
#initialize(id, tag = nil) ⇒ SubmitUboDeclarationRequest
Returns a new instance of SubmitUboDeclarationRequest.
12 13 14 15 16 |
# File 'lib/mangopay/model/request/submit_ubo_declaration_request.rb', line 12 def initialize(id, tag = nil) self.id = id self.tag = tag @status = MangoModel::UboDeclarationStatus::VALIDATION_ASKED end |
Instance Attribute Details
#id ⇒ Object
Id of the ubo declaration
8 9 10 |
# File 'lib/mangopay/model/request/submit_ubo_declaration_request.rb', line 8 def id @id end |
#tag ⇒ Object
- String
-
Custom data added with the request
10 11 12 |
# File 'lib/mangopay/model/request/submit_ubo_declaration_request.rb', line 10 def tag @tag end |