Initial commit
This commit is contained in:
73
app/api/v2/entities/deposit_limit.rb
Normal file
73
app/api/v2/entities/deposit_limit.rb
Normal file
@@ -0,0 +1,73 @@
|
||||
module API
|
||||
module V2
|
||||
module Entities
|
||||
class DepositLimit < API::V2::Entities::Base
|
||||
expose(
|
||||
:id,
|
||||
documentation:{
|
||||
type: Integer,
|
||||
desc: 'Unique deposit limit table identifier in database.'
|
||||
}
|
||||
)
|
||||
|
||||
expose(
|
||||
:group,
|
||||
documentation:{
|
||||
type: String,
|
||||
desc: 'Member group for define deposit limits.'
|
||||
}
|
||||
)
|
||||
|
||||
expose(
|
||||
:kyc_level,
|
||||
documentation:{
|
||||
type: String,
|
||||
desc: 'KYC level for define deposit limits.'
|
||||
}
|
||||
)
|
||||
|
||||
expose(
|
||||
:kind,
|
||||
documentation:{
|
||||
type: String,
|
||||
desc: 'kind for define deposit limits.'
|
||||
}
|
||||
)
|
||||
|
||||
expose(
|
||||
:limit_24_hour,
|
||||
documentation:{
|
||||
type: BigDecimal,
|
||||
desc: '24 hours deposit limit.'
|
||||
}
|
||||
)
|
||||
|
||||
expose(
|
||||
:limit_1_month,
|
||||
documentation:{
|
||||
type: BigDecimal,
|
||||
desc: '1 month deposit limit.'
|
||||
}
|
||||
)
|
||||
|
||||
expose(
|
||||
:created_at,
|
||||
format_with: :iso8601,
|
||||
documentation: {
|
||||
type: String,
|
||||
desc: 'deposit limit table created time in iso8601 format.'
|
||||
}
|
||||
)
|
||||
|
||||
expose(
|
||||
:updated_at,
|
||||
format_with: :iso8601,
|
||||
documentation: {
|
||||
type: String,
|
||||
desc: 'deposit limit table updated time in iso8601 format.'
|
||||
}
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user