voltaria_sdk 2.48.1 → 2.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/voltaria/types/loan_installment_create_payload.rb +2 -0
- data/lib/voltaria/types/loan_installment_create_payload_interest.rb +14 -0
- data/lib/voltaria/types/loan_installment_create_payload_principal.rb +14 -0
- data/lib/voltaria/types/loan_repayment_method_enum.rb +1 -0
- data/lib/voltaria/version.rb +1 -1
- data/lib/voltaria.rb +2 -0
- data/reference.md +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 043d2c4c5b9240421efcfabd63915890116aefd60f7085acb28930d2bdb28604
|
|
4
|
+
data.tar.gz: 1ba1a9be1eebf8002ab1f5583e2a70b0873a19a5593ff946f4fb6dc112900561
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abb9a01d43a95dca6ef53420e3ea40eb9fb153b3baa3ab48fcbdb715675d8af072296489a4a7696b7131bc9e2c8391f1285f98f4ee9689de57fba8781310f98b
|
|
7
|
+
data.tar.gz: 2b79199e897c70c15f798849994ec1367a86b69687d55daaa7324c0938f404740abf169e74af21b4fe96af9d109fe093ebc584f294b843884598a34696e25f9d
|
|
@@ -5,6 +5,8 @@ module Voltaria
|
|
|
5
5
|
class LoanInstallmentCreatePayload < Internal::Types::Model
|
|
6
6
|
field :expected_repayment_at, -> { String }, optional: false, nullable: false
|
|
7
7
|
field :amount, -> { Voltaria::Types::LoanInstallmentCreatePayloadAmount }, optional: false, nullable: false
|
|
8
|
+
field :principal, -> { Voltaria::Types::LoanInstallmentCreatePayloadPrincipal }, optional: true, nullable: false
|
|
9
|
+
field :interest, -> { Voltaria::Types::LoanInstallmentCreatePayloadInterest }, optional: true, nullable: false
|
|
8
10
|
end
|
|
9
11
|
end
|
|
10
12
|
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Voltaria
|
|
4
|
+
module Types
|
|
5
|
+
# The interest part of the installment amount. Only when creating a loan with repayment_method custom, together with
|
|
6
|
+
# principal
|
|
7
|
+
class LoanInstallmentCreatePayloadInterest < Internal::Types::Model
|
|
8
|
+
extend Voltaria::Internal::Types::Union
|
|
9
|
+
|
|
10
|
+
member -> { Integer }
|
|
11
|
+
member -> { String }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Voltaria
|
|
4
|
+
module Types
|
|
5
|
+
# The principal part of the installment amount. Only when creating a loan with repayment_method custom, together
|
|
6
|
+
# with interest
|
|
7
|
+
class LoanInstallmentCreatePayloadPrincipal < Internal::Types::Model
|
|
8
|
+
extend Voltaria::Internal::Types::Union
|
|
9
|
+
|
|
10
|
+
member -> { Integer }
|
|
11
|
+
member -> { String }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
data/lib/voltaria/version.rb
CHANGED
data/lib/voltaria.rb
CHANGED
|
@@ -55,6 +55,8 @@ require_relative "voltaria/types/currency_enum"
|
|
|
55
55
|
require_relative "voltaria/types/available_funding"
|
|
56
56
|
require_relative "voltaria/types/bulk_loan_item_payload_amount"
|
|
57
57
|
require_relative "voltaria/types/loan_installment_create_payload_amount"
|
|
58
|
+
require_relative "voltaria/types/loan_installment_create_payload_principal"
|
|
59
|
+
require_relative "voltaria/types/loan_installment_create_payload_interest"
|
|
58
60
|
require_relative "voltaria/types/loan_installment_create_payload"
|
|
59
61
|
require_relative "voltaria/types/loan_repayment_method_enum"
|
|
60
62
|
require_relative "voltaria/types/bulk_loan_item_payload"
|
data/reference.md
CHANGED
|
@@ -4563,7 +4563,7 @@ client.loans.create_loan(
|
|
|
4563
4563
|
<dl>
|
|
4564
4564
|
<dd>
|
|
4565
4565
|
|
|
4566
|
-
**repayment_method:** `Voltaria::Types::LoanRepaymentMethodEnum` — How each installment is split into principal and interest: pmt (amortising)
|
|
4566
|
+
**repayment_method:** `Voltaria::Types::LoanRepaymentMethodEnum` — How each installment is split into principal and interest: pmt (amortising), constant_principal (loan amount divided equally across installments, the rest is interest) or custom (you send each installment's principal and interest; total principal must equal the loan amount, and the loan amount and installments cannot be changed later)
|
|
4567
4567
|
|
|
4568
4568
|
</dd>
|
|
4569
4569
|
</dl>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: voltaria_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.49.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Voltaria
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The Voltaria Ruby library provides convenient access to the Voltaria
|
|
14
14
|
API from Ruby.
|
|
@@ -214,6 +214,8 @@ files:
|
|
|
214
214
|
- lib/voltaria/types/limit_request_status_enum.rb
|
|
215
215
|
- lib/voltaria/types/loan_installment_create_payload.rb
|
|
216
216
|
- lib/voltaria/types/loan_installment_create_payload_amount.rb
|
|
217
|
+
- lib/voltaria/types/loan_installment_create_payload_interest.rb
|
|
218
|
+
- lib/voltaria/types/loan_installment_create_payload_principal.rb
|
|
217
219
|
- lib/voltaria/types/loan_installment_response.rb
|
|
218
220
|
- lib/voltaria/types/loan_investor_response.rb
|
|
219
221
|
- lib/voltaria/types/loan_payment_status_enum.rb
|