lago-ruby-client 0.42.0.pre.beta → 0.42.1.pre.beta

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c74ed77303be8ec35b3c733ba128cb238122a688df86246550a5395a1e59f0d
4
- data.tar.gz: 23953066533a3d163692fe938f88358bacdd42fb1a67b0a9149c72d78fdc5ff5
3
+ metadata.gz: bd62cba382a7cdb1ba7c61099e0de059f26fecd5621fc51b012b1e437196d6a8
4
+ data.tar.gz: 639e49a75a091149046608b05e4a4f9b55500de738eb4f254dd9da58db12e2e2
5
5
  SHA512:
6
- metadata.gz: 8a2e897c9b87db9666e4572dc459758ff4dc844c8a1835468b1a126841726f652eb67e6a4d8fc6229375c4b49b7d059bbc05c4e9e74afc200130bab6b39946af
7
- data.tar.gz: 3ec3a01afa6a4cd97945974923f8d4b8bdf6f8bdd878c696c615d7bace7b42d9f98b878895ae6947c40ec6bb06b198053571a7aaaed4864ea1eed715f4edf5d5
6
+ metadata.gz: 4ea7d8657cabee11251e2398f2f17501a213c61fe103e964baa487e79ab322f8a627269f99f2bf324907d69c7012442ec98716625772268ab9e3c0f8530b27c6
7
+ data.tar.gz: 848b7dda992d5770ffeafabed2cc357c4828b7bb16f5a02eded413a24bd2b84d041eed98eadc0f804469725f3b2e7368b5ee0327d4fe8c6e41d0c6d16e1d0214
@@ -39,6 +39,7 @@ module Lago
39
39
  email: params[:email],
40
40
  legal_name: params[:legal_name],
41
41
  legal_number: params[:legal_number],
42
+ net_payment_term: params[:net_payment_term],
42
43
  tax_identification_number: params[:tax_identification_number],
43
44
  logo_url: params[:logo_url],
44
45
  name: params[:name],
@@ -69,6 +70,7 @@ module Lago
69
70
  :sync,
70
71
  :sync_with_provider,
71
72
  :document_locale,
73
+ :provider_payment_methods,
72
74
  )
73
75
  end
74
76
 
@@ -52,6 +52,7 @@ module Lago
52
52
  def whitelist_params(params)
53
53
  result = {
54
54
  payment_status: params[:payment_status],
55
+ net_payment_term: params[:net_payment_term],
55
56
  }
56
57
 
57
58
  metadata = whitelist_metadata(params[:metadata])
@@ -76,6 +77,7 @@ module Lago
76
77
  result = {
77
78
  external_customer_id: params[:external_customer_id],
78
79
  currency: params[:currency],
80
+ net_payment_term: params[:net_payment_term],
79
81
  }
80
82
 
81
83
  fees = whitelist_fees(params[:fees])
@@ -25,6 +25,7 @@ module Lago
25
25
  city: params[:city],
26
26
  legal_name: params[:legal_name],
27
27
  legal_number: params[:legal_number],
28
+ net_payment_term: params[:net_payment_term],
28
29
  tax_identification_number: params[:tax_identification_number],
29
30
  timezone: params[:timezone],
30
31
  email_settings: params[:email_settings],
data/lib/lago/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lago
4
- VERSION = '0.42.0-beta'
4
+ VERSION = '0.42.1-beta'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lago-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0.pre.beta
4
+ version: 0.42.1.pre.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lovro Colic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-07 00:00:00.000000000 Z
11
+ date: 2023-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt