increase 1.331.0 → 1.332.0
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/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/increase/models/card_purchase_supplement.rb +175 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_purchase_supplement.rbi +205 -0
- data/sig/increase/models/card_purchase_supplement.rbs +117 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6340fe4bc45ddff714a04f6ee2ab74d802d40889fd4abfb2a555805b39be88af
|
|
4
|
+
data.tar.gz: 85cb756d2f4bb95b81f0b7cbf8d4109fb73fa4a0973f41c7d8556bf300e76d69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff9d6207133bb546ee47695e854581465e590180f4f699f311e54467bf6f1c4d8cb162641d5b6d5f56662a55dace18a19aa699c186c4b350baf94165b64c1ad6
|
|
7
|
+
data.tar.gz: ea910eef817f7a06e4bb42d24b952231558cd004ebc7b84be0d974507c077ebba82a67c357357892020648a7d91e28e8d770cf23bd33799b009fdc941245c02a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.332.0 (2026-05-19)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.331.0...v1.332.0](https://github.com/Increase/increase-ruby/compare/v1.331.0...v1.332.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([d8f17ea](https://github.com/Increase/increase-ruby/commit/d8f17ea76991de6a6581eabe98fe1fa4a56a9a04))
|
|
10
|
+
|
|
3
11
|
## 1.331.0 (2026-05-18)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.330.0...v1.331.0](https://github.com/Increase/increase-ruby/compare/v1.330.0...v1.331.0)
|
data/README.md
CHANGED
|
@@ -30,6 +30,12 @@ module Increase
|
|
|
30
30
|
-> { Increase::Internal::Type::ArrayOf[Increase::CardPurchaseSupplement::LineItem] },
|
|
31
31
|
nil?: true
|
|
32
32
|
|
|
33
|
+
# @!attribute shipping
|
|
34
|
+
# Shipping information for the purchase.
|
|
35
|
+
#
|
|
36
|
+
# @return [Increase::Models::CardPurchaseSupplement::Shipping, nil]
|
|
37
|
+
required :shipping, -> { Increase::CardPurchaseSupplement::Shipping }, nil?: true
|
|
38
|
+
|
|
33
39
|
# @!attribute transaction_id
|
|
34
40
|
# The ID of the transaction.
|
|
35
41
|
#
|
|
@@ -43,7 +49,7 @@ module Increase
|
|
|
43
49
|
# @return [Symbol, Increase::Models::CardPurchaseSupplement::Type]
|
|
44
50
|
required :type, enum: -> { Increase::CardPurchaseSupplement::Type }
|
|
45
51
|
|
|
46
|
-
# @!method initialize(id:, card_payment_id:, invoice:, line_items:, transaction_id:, type:)
|
|
52
|
+
# @!method initialize(id:, card_payment_id:, invoice:, line_items:, shipping:, transaction_id:, type:)
|
|
47
53
|
# Some parameter documentations has been truncated, see
|
|
48
54
|
# {Increase::Models::CardPurchaseSupplement} for more details.
|
|
49
55
|
#
|
|
@@ -58,6 +64,8 @@ module Increase
|
|
|
58
64
|
#
|
|
59
65
|
# @param line_items [Array<Increase::Models::CardPurchaseSupplement::LineItem>, nil] Line item information, such as individual products purchased.
|
|
60
66
|
#
|
|
67
|
+
# @param shipping [Increase::Models::CardPurchaseSupplement::Shipping, nil] Shipping information for the purchase.
|
|
68
|
+
#
|
|
61
69
|
# @param transaction_id [String] The ID of the transaction.
|
|
62
70
|
#
|
|
63
71
|
# @param type [Symbol, Increase::Models::CardPurchaseSupplement::Type] A constant representing the object's type. For this resource it will always be `
|
|
@@ -435,6 +443,172 @@ module Increase
|
|
|
435
443
|
end
|
|
436
444
|
end
|
|
437
445
|
|
|
446
|
+
# @see Increase::Models::CardPurchaseSupplement#shipping
|
|
447
|
+
class Shipping < Increase::Internal::Type::BaseModel
|
|
448
|
+
# @!attribute customer_reference_number
|
|
449
|
+
# The customer reference number.
|
|
450
|
+
#
|
|
451
|
+
# @return [String, nil]
|
|
452
|
+
required :customer_reference_number, String, nil?: true
|
|
453
|
+
|
|
454
|
+
# @!attribute destination_address
|
|
455
|
+
# Address of the destination.
|
|
456
|
+
#
|
|
457
|
+
# @return [String, nil]
|
|
458
|
+
required :destination_address, String, nil?: true
|
|
459
|
+
|
|
460
|
+
# @!attribute destination_country_code
|
|
461
|
+
# Country code of the destination.
|
|
462
|
+
#
|
|
463
|
+
# @return [String, nil]
|
|
464
|
+
required :destination_country_code, String, nil?: true
|
|
465
|
+
|
|
466
|
+
# @!attribute destination_postal_code
|
|
467
|
+
# Postal code of the destination.
|
|
468
|
+
#
|
|
469
|
+
# @return [String, nil]
|
|
470
|
+
required :destination_postal_code, String, nil?: true
|
|
471
|
+
|
|
472
|
+
# @!attribute destination_receiver_name
|
|
473
|
+
# Name of the receiver at the destination.
|
|
474
|
+
#
|
|
475
|
+
# @return [String, nil]
|
|
476
|
+
required :destination_receiver_name, String, nil?: true
|
|
477
|
+
|
|
478
|
+
# @!attribute discount_amount
|
|
479
|
+
# Discount amount for the shipment.
|
|
480
|
+
#
|
|
481
|
+
# @return [Integer, nil]
|
|
482
|
+
required :discount_amount, Integer, nil?: true
|
|
483
|
+
|
|
484
|
+
# @!attribute net_amount
|
|
485
|
+
# Net shipping amount.
|
|
486
|
+
#
|
|
487
|
+
# @return [Integer, nil]
|
|
488
|
+
required :net_amount, Integer, nil?: true
|
|
489
|
+
|
|
490
|
+
# @!attribute number_of_packages
|
|
491
|
+
# Number of packages shipped.
|
|
492
|
+
#
|
|
493
|
+
# @return [Integer, nil]
|
|
494
|
+
required :number_of_packages, Integer, nil?: true
|
|
495
|
+
|
|
496
|
+
# @!attribute origin_address
|
|
497
|
+
# Address of the origin.
|
|
498
|
+
#
|
|
499
|
+
# @return [String, nil]
|
|
500
|
+
required :origin_address, String, nil?: true
|
|
501
|
+
|
|
502
|
+
# @!attribute origin_country_code
|
|
503
|
+
# Country code of the origin.
|
|
504
|
+
#
|
|
505
|
+
# @return [String, nil]
|
|
506
|
+
required :origin_country_code, String, nil?: true
|
|
507
|
+
|
|
508
|
+
# @!attribute origin_postal_code
|
|
509
|
+
# Postal code of the origin.
|
|
510
|
+
#
|
|
511
|
+
# @return [String, nil]
|
|
512
|
+
required :origin_postal_code, String, nil?: true
|
|
513
|
+
|
|
514
|
+
# @!attribute origin_sender_name
|
|
515
|
+
# Name of the sender at the origin.
|
|
516
|
+
#
|
|
517
|
+
# @return [String, nil]
|
|
518
|
+
required :origin_sender_name, String, nil?: true
|
|
519
|
+
|
|
520
|
+
# @!attribute pick_up_date
|
|
521
|
+
# Date the shipment should be picked up.
|
|
522
|
+
#
|
|
523
|
+
# @return [Date, nil]
|
|
524
|
+
required :pick_up_date, Date, nil?: true
|
|
525
|
+
|
|
526
|
+
# @!attribute service_description
|
|
527
|
+
# Description of the shipping service.
|
|
528
|
+
#
|
|
529
|
+
# @return [String, nil]
|
|
530
|
+
required :service_description, String, nil?: true
|
|
531
|
+
|
|
532
|
+
# @!attribute service_level_code
|
|
533
|
+
# Service level code for the shipment.
|
|
534
|
+
#
|
|
535
|
+
# @return [String, nil]
|
|
536
|
+
required :service_level_code, String, nil?: true
|
|
537
|
+
|
|
538
|
+
# @!attribute shipping_courier_name
|
|
539
|
+
# Name of the shipping courier.
|
|
540
|
+
#
|
|
541
|
+
# @return [String, nil]
|
|
542
|
+
required :shipping_courier_name, String, nil?: true
|
|
543
|
+
|
|
544
|
+
# @!attribute tax_amount
|
|
545
|
+
# Tax amount for the shipment.
|
|
546
|
+
#
|
|
547
|
+
# @return [Integer, nil]
|
|
548
|
+
required :tax_amount, Integer, nil?: true
|
|
549
|
+
|
|
550
|
+
# @!attribute tracking_number
|
|
551
|
+
# Tracking number for the shipment.
|
|
552
|
+
#
|
|
553
|
+
# @return [String, nil]
|
|
554
|
+
required :tracking_number, String, nil?: true
|
|
555
|
+
|
|
556
|
+
# @!attribute unit_of_measure
|
|
557
|
+
# Unit of measure for the shipment weight.
|
|
558
|
+
#
|
|
559
|
+
# @return [String, nil]
|
|
560
|
+
required :unit_of_measure, String, nil?: true
|
|
561
|
+
|
|
562
|
+
# @!attribute weight
|
|
563
|
+
# Weight of the shipment.
|
|
564
|
+
#
|
|
565
|
+
# @return [String, nil]
|
|
566
|
+
required :weight, String, nil?: true
|
|
567
|
+
|
|
568
|
+
# @!method initialize(customer_reference_number:, destination_address:, destination_country_code:, destination_postal_code:, destination_receiver_name:, discount_amount:, net_amount:, number_of_packages:, origin_address:, origin_country_code:, origin_postal_code:, origin_sender_name:, pick_up_date:, service_description:, service_level_code:, shipping_courier_name:, tax_amount:, tracking_number:, unit_of_measure:, weight:)
|
|
569
|
+
# Shipping information for the purchase.
|
|
570
|
+
#
|
|
571
|
+
# @param customer_reference_number [String, nil] The customer reference number.
|
|
572
|
+
#
|
|
573
|
+
# @param destination_address [String, nil] Address of the destination.
|
|
574
|
+
#
|
|
575
|
+
# @param destination_country_code [String, nil] Country code of the destination.
|
|
576
|
+
#
|
|
577
|
+
# @param destination_postal_code [String, nil] Postal code of the destination.
|
|
578
|
+
#
|
|
579
|
+
# @param destination_receiver_name [String, nil] Name of the receiver at the destination.
|
|
580
|
+
#
|
|
581
|
+
# @param discount_amount [Integer, nil] Discount amount for the shipment.
|
|
582
|
+
#
|
|
583
|
+
# @param net_amount [Integer, nil] Net shipping amount.
|
|
584
|
+
#
|
|
585
|
+
# @param number_of_packages [Integer, nil] Number of packages shipped.
|
|
586
|
+
#
|
|
587
|
+
# @param origin_address [String, nil] Address of the origin.
|
|
588
|
+
#
|
|
589
|
+
# @param origin_country_code [String, nil] Country code of the origin.
|
|
590
|
+
#
|
|
591
|
+
# @param origin_postal_code [String, nil] Postal code of the origin.
|
|
592
|
+
#
|
|
593
|
+
# @param origin_sender_name [String, nil] Name of the sender at the origin.
|
|
594
|
+
#
|
|
595
|
+
# @param pick_up_date [Date, nil] Date the shipment should be picked up.
|
|
596
|
+
#
|
|
597
|
+
# @param service_description [String, nil] Description of the shipping service.
|
|
598
|
+
#
|
|
599
|
+
# @param service_level_code [String, nil] Service level code for the shipment.
|
|
600
|
+
#
|
|
601
|
+
# @param shipping_courier_name [String, nil] Name of the shipping courier.
|
|
602
|
+
#
|
|
603
|
+
# @param tax_amount [Integer, nil] Tax amount for the shipment.
|
|
604
|
+
#
|
|
605
|
+
# @param tracking_number [String, nil] Tracking number for the shipment.
|
|
606
|
+
#
|
|
607
|
+
# @param unit_of_measure [String, nil] Unit of measure for the shipment weight.
|
|
608
|
+
#
|
|
609
|
+
# @param weight [String, nil] Weight of the shipment.
|
|
610
|
+
end
|
|
611
|
+
|
|
438
612
|
# A constant representing the object's type. For this resource it will always be
|
|
439
613
|
# `card_purchase_supplement`.
|
|
440
614
|
#
|
data/lib/increase/version.rb
CHANGED
|
@@ -33,6 +33,18 @@ module Increase
|
|
|
33
33
|
end
|
|
34
34
|
attr_accessor :line_items
|
|
35
35
|
|
|
36
|
+
# Shipping information for the purchase.
|
|
37
|
+
sig { returns(T.nilable(Increase::CardPurchaseSupplement::Shipping)) }
|
|
38
|
+
attr_reader :shipping
|
|
39
|
+
|
|
40
|
+
sig do
|
|
41
|
+
params(
|
|
42
|
+
shipping:
|
|
43
|
+
T.nilable(Increase::CardPurchaseSupplement::Shipping::OrHash)
|
|
44
|
+
).void
|
|
45
|
+
end
|
|
46
|
+
attr_writer :shipping
|
|
47
|
+
|
|
36
48
|
# The ID of the transaction.
|
|
37
49
|
sig { returns(String) }
|
|
38
50
|
attr_accessor :transaction_id
|
|
@@ -53,6 +65,8 @@ module Increase
|
|
|
53
65
|
T.nilable(
|
|
54
66
|
T::Array[Increase::CardPurchaseSupplement::LineItem::OrHash]
|
|
55
67
|
),
|
|
68
|
+
shipping:
|
|
69
|
+
T.nilable(Increase::CardPurchaseSupplement::Shipping::OrHash),
|
|
56
70
|
transaction_id: String,
|
|
57
71
|
type: Increase::CardPurchaseSupplement::Type::OrSymbol
|
|
58
72
|
).returns(T.attached_class)
|
|
@@ -66,6 +80,8 @@ module Increase
|
|
|
66
80
|
invoice:,
|
|
67
81
|
# Line item information, such as individual products purchased.
|
|
68
82
|
line_items:,
|
|
83
|
+
# Shipping information for the purchase.
|
|
84
|
+
shipping:,
|
|
69
85
|
# The ID of the transaction.
|
|
70
86
|
transaction_id:,
|
|
71
87
|
# A constant representing the object's type. For this resource it will always be
|
|
@@ -82,6 +98,7 @@ module Increase
|
|
|
82
98
|
invoice: T.nilable(Increase::CardPurchaseSupplement::Invoice),
|
|
83
99
|
line_items:
|
|
84
100
|
T.nilable(T::Array[Increase::CardPurchaseSupplement::LineItem]),
|
|
101
|
+
shipping: T.nilable(Increase::CardPurchaseSupplement::Shipping),
|
|
85
102
|
transaction_id: String,
|
|
86
103
|
type: Increase::CardPurchaseSupplement::Type::TaggedSymbol
|
|
87
104
|
}
|
|
@@ -659,6 +676,194 @@ module Increase
|
|
|
659
676
|
end
|
|
660
677
|
end
|
|
661
678
|
|
|
679
|
+
class Shipping < Increase::Internal::Type::BaseModel
|
|
680
|
+
OrHash =
|
|
681
|
+
T.type_alias do
|
|
682
|
+
T.any(
|
|
683
|
+
Increase::CardPurchaseSupplement::Shipping,
|
|
684
|
+
Increase::Internal::AnyHash
|
|
685
|
+
)
|
|
686
|
+
end
|
|
687
|
+
|
|
688
|
+
# The customer reference number.
|
|
689
|
+
sig { returns(T.nilable(String)) }
|
|
690
|
+
attr_accessor :customer_reference_number
|
|
691
|
+
|
|
692
|
+
# Address of the destination.
|
|
693
|
+
sig { returns(T.nilable(String)) }
|
|
694
|
+
attr_accessor :destination_address
|
|
695
|
+
|
|
696
|
+
# Country code of the destination.
|
|
697
|
+
sig { returns(T.nilable(String)) }
|
|
698
|
+
attr_accessor :destination_country_code
|
|
699
|
+
|
|
700
|
+
# Postal code of the destination.
|
|
701
|
+
sig { returns(T.nilable(String)) }
|
|
702
|
+
attr_accessor :destination_postal_code
|
|
703
|
+
|
|
704
|
+
# Name of the receiver at the destination.
|
|
705
|
+
sig { returns(T.nilable(String)) }
|
|
706
|
+
attr_accessor :destination_receiver_name
|
|
707
|
+
|
|
708
|
+
# Discount amount for the shipment.
|
|
709
|
+
sig { returns(T.nilable(Integer)) }
|
|
710
|
+
attr_accessor :discount_amount
|
|
711
|
+
|
|
712
|
+
# Net shipping amount.
|
|
713
|
+
sig { returns(T.nilable(Integer)) }
|
|
714
|
+
attr_accessor :net_amount
|
|
715
|
+
|
|
716
|
+
# Number of packages shipped.
|
|
717
|
+
sig { returns(T.nilable(Integer)) }
|
|
718
|
+
attr_accessor :number_of_packages
|
|
719
|
+
|
|
720
|
+
# Address of the origin.
|
|
721
|
+
sig { returns(T.nilable(String)) }
|
|
722
|
+
attr_accessor :origin_address
|
|
723
|
+
|
|
724
|
+
# Country code of the origin.
|
|
725
|
+
sig { returns(T.nilable(String)) }
|
|
726
|
+
attr_accessor :origin_country_code
|
|
727
|
+
|
|
728
|
+
# Postal code of the origin.
|
|
729
|
+
sig { returns(T.nilable(String)) }
|
|
730
|
+
attr_accessor :origin_postal_code
|
|
731
|
+
|
|
732
|
+
# Name of the sender at the origin.
|
|
733
|
+
sig { returns(T.nilable(String)) }
|
|
734
|
+
attr_accessor :origin_sender_name
|
|
735
|
+
|
|
736
|
+
# Date the shipment should be picked up.
|
|
737
|
+
sig { returns(T.nilable(Date)) }
|
|
738
|
+
attr_accessor :pick_up_date
|
|
739
|
+
|
|
740
|
+
# Description of the shipping service.
|
|
741
|
+
sig { returns(T.nilable(String)) }
|
|
742
|
+
attr_accessor :service_description
|
|
743
|
+
|
|
744
|
+
# Service level code for the shipment.
|
|
745
|
+
sig { returns(T.nilable(String)) }
|
|
746
|
+
attr_accessor :service_level_code
|
|
747
|
+
|
|
748
|
+
# Name of the shipping courier.
|
|
749
|
+
sig { returns(T.nilable(String)) }
|
|
750
|
+
attr_accessor :shipping_courier_name
|
|
751
|
+
|
|
752
|
+
# Tax amount for the shipment.
|
|
753
|
+
sig { returns(T.nilable(Integer)) }
|
|
754
|
+
attr_accessor :tax_amount
|
|
755
|
+
|
|
756
|
+
# Tracking number for the shipment.
|
|
757
|
+
sig { returns(T.nilable(String)) }
|
|
758
|
+
attr_accessor :tracking_number
|
|
759
|
+
|
|
760
|
+
# Unit of measure for the shipment weight.
|
|
761
|
+
sig { returns(T.nilable(String)) }
|
|
762
|
+
attr_accessor :unit_of_measure
|
|
763
|
+
|
|
764
|
+
# Weight of the shipment.
|
|
765
|
+
sig { returns(T.nilable(String)) }
|
|
766
|
+
attr_accessor :weight
|
|
767
|
+
|
|
768
|
+
# Shipping information for the purchase.
|
|
769
|
+
sig do
|
|
770
|
+
params(
|
|
771
|
+
customer_reference_number: T.nilable(String),
|
|
772
|
+
destination_address: T.nilable(String),
|
|
773
|
+
destination_country_code: T.nilable(String),
|
|
774
|
+
destination_postal_code: T.nilable(String),
|
|
775
|
+
destination_receiver_name: T.nilable(String),
|
|
776
|
+
discount_amount: T.nilable(Integer),
|
|
777
|
+
net_amount: T.nilable(Integer),
|
|
778
|
+
number_of_packages: T.nilable(Integer),
|
|
779
|
+
origin_address: T.nilable(String),
|
|
780
|
+
origin_country_code: T.nilable(String),
|
|
781
|
+
origin_postal_code: T.nilable(String),
|
|
782
|
+
origin_sender_name: T.nilable(String),
|
|
783
|
+
pick_up_date: T.nilable(Date),
|
|
784
|
+
service_description: T.nilable(String),
|
|
785
|
+
service_level_code: T.nilable(String),
|
|
786
|
+
shipping_courier_name: T.nilable(String),
|
|
787
|
+
tax_amount: T.nilable(Integer),
|
|
788
|
+
tracking_number: T.nilable(String),
|
|
789
|
+
unit_of_measure: T.nilable(String),
|
|
790
|
+
weight: T.nilable(String)
|
|
791
|
+
).returns(T.attached_class)
|
|
792
|
+
end
|
|
793
|
+
def self.new(
|
|
794
|
+
# The customer reference number.
|
|
795
|
+
customer_reference_number:,
|
|
796
|
+
# Address of the destination.
|
|
797
|
+
destination_address:,
|
|
798
|
+
# Country code of the destination.
|
|
799
|
+
destination_country_code:,
|
|
800
|
+
# Postal code of the destination.
|
|
801
|
+
destination_postal_code:,
|
|
802
|
+
# Name of the receiver at the destination.
|
|
803
|
+
destination_receiver_name:,
|
|
804
|
+
# Discount amount for the shipment.
|
|
805
|
+
discount_amount:,
|
|
806
|
+
# Net shipping amount.
|
|
807
|
+
net_amount:,
|
|
808
|
+
# Number of packages shipped.
|
|
809
|
+
number_of_packages:,
|
|
810
|
+
# Address of the origin.
|
|
811
|
+
origin_address:,
|
|
812
|
+
# Country code of the origin.
|
|
813
|
+
origin_country_code:,
|
|
814
|
+
# Postal code of the origin.
|
|
815
|
+
origin_postal_code:,
|
|
816
|
+
# Name of the sender at the origin.
|
|
817
|
+
origin_sender_name:,
|
|
818
|
+
# Date the shipment should be picked up.
|
|
819
|
+
pick_up_date:,
|
|
820
|
+
# Description of the shipping service.
|
|
821
|
+
service_description:,
|
|
822
|
+
# Service level code for the shipment.
|
|
823
|
+
service_level_code:,
|
|
824
|
+
# Name of the shipping courier.
|
|
825
|
+
shipping_courier_name:,
|
|
826
|
+
# Tax amount for the shipment.
|
|
827
|
+
tax_amount:,
|
|
828
|
+
# Tracking number for the shipment.
|
|
829
|
+
tracking_number:,
|
|
830
|
+
# Unit of measure for the shipment weight.
|
|
831
|
+
unit_of_measure:,
|
|
832
|
+
# Weight of the shipment.
|
|
833
|
+
weight:
|
|
834
|
+
)
|
|
835
|
+
end
|
|
836
|
+
|
|
837
|
+
sig do
|
|
838
|
+
override.returns(
|
|
839
|
+
{
|
|
840
|
+
customer_reference_number: T.nilable(String),
|
|
841
|
+
destination_address: T.nilable(String),
|
|
842
|
+
destination_country_code: T.nilable(String),
|
|
843
|
+
destination_postal_code: T.nilable(String),
|
|
844
|
+
destination_receiver_name: T.nilable(String),
|
|
845
|
+
discount_amount: T.nilable(Integer),
|
|
846
|
+
net_amount: T.nilable(Integer),
|
|
847
|
+
number_of_packages: T.nilable(Integer),
|
|
848
|
+
origin_address: T.nilable(String),
|
|
849
|
+
origin_country_code: T.nilable(String),
|
|
850
|
+
origin_postal_code: T.nilable(String),
|
|
851
|
+
origin_sender_name: T.nilable(String),
|
|
852
|
+
pick_up_date: T.nilable(Date),
|
|
853
|
+
service_description: T.nilable(String),
|
|
854
|
+
service_level_code: T.nilable(String),
|
|
855
|
+
shipping_courier_name: T.nilable(String),
|
|
856
|
+
tax_amount: T.nilable(Integer),
|
|
857
|
+
tracking_number: T.nilable(String),
|
|
858
|
+
unit_of_measure: T.nilable(String),
|
|
859
|
+
weight: T.nilable(String)
|
|
860
|
+
}
|
|
861
|
+
)
|
|
862
|
+
end
|
|
863
|
+
def to_hash
|
|
864
|
+
end
|
|
865
|
+
end
|
|
866
|
+
|
|
662
867
|
# A constant representing the object's type. For this resource it will always be
|
|
663
868
|
# `card_purchase_supplement`.
|
|
664
869
|
module Type
|
|
@@ -6,6 +6,7 @@ module Increase
|
|
|
6
6
|
card_payment_id: String?,
|
|
7
7
|
invoice: Increase::CardPurchaseSupplement::Invoice?,
|
|
8
8
|
line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?,
|
|
9
|
+
shipping: Increase::CardPurchaseSupplement::Shipping?,
|
|
9
10
|
transaction_id: String,
|
|
10
11
|
type: Increase::Models::CardPurchaseSupplement::type_
|
|
11
12
|
}
|
|
@@ -19,6 +20,8 @@ module Increase
|
|
|
19
20
|
|
|
20
21
|
attr_accessor line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?
|
|
21
22
|
|
|
23
|
+
attr_accessor shipping: Increase::CardPurchaseSupplement::Shipping?
|
|
24
|
+
|
|
22
25
|
attr_accessor transaction_id: String
|
|
23
26
|
|
|
24
27
|
attr_accessor type: Increase::Models::CardPurchaseSupplement::type_
|
|
@@ -28,6 +31,7 @@ module Increase
|
|
|
28
31
|
card_payment_id: String?,
|
|
29
32
|
invoice: Increase::CardPurchaseSupplement::Invoice?,
|
|
30
33
|
line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?,
|
|
34
|
+
shipping: Increase::CardPurchaseSupplement::Shipping?,
|
|
31
35
|
transaction_id: String,
|
|
32
36
|
type: Increase::Models::CardPurchaseSupplement::type_
|
|
33
37
|
) -> void
|
|
@@ -37,6 +41,7 @@ module Increase
|
|
|
37
41
|
card_payment_id: String?,
|
|
38
42
|
invoice: Increase::CardPurchaseSupplement::Invoice?,
|
|
39
43
|
line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?,
|
|
44
|
+
shipping: Increase::CardPurchaseSupplement::Shipping?,
|
|
40
45
|
transaction_id: String,
|
|
41
46
|
type: Increase::Models::CardPurchaseSupplement::type_
|
|
42
47
|
}
|
|
@@ -315,6 +320,118 @@ module Increase
|
|
|
315
320
|
end
|
|
316
321
|
end
|
|
317
322
|
|
|
323
|
+
type shipping =
|
|
324
|
+
{
|
|
325
|
+
customer_reference_number: String?,
|
|
326
|
+
destination_address: String?,
|
|
327
|
+
destination_country_code: String?,
|
|
328
|
+
destination_postal_code: String?,
|
|
329
|
+
destination_receiver_name: String?,
|
|
330
|
+
discount_amount: Integer?,
|
|
331
|
+
net_amount: Integer?,
|
|
332
|
+
number_of_packages: Integer?,
|
|
333
|
+
origin_address: String?,
|
|
334
|
+
origin_country_code: String?,
|
|
335
|
+
origin_postal_code: String?,
|
|
336
|
+
origin_sender_name: String?,
|
|
337
|
+
pick_up_date: Date?,
|
|
338
|
+
service_description: String?,
|
|
339
|
+
service_level_code: String?,
|
|
340
|
+
shipping_courier_name: String?,
|
|
341
|
+
tax_amount: Integer?,
|
|
342
|
+
tracking_number: String?,
|
|
343
|
+
unit_of_measure: String?,
|
|
344
|
+
weight: String?
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
class Shipping < Increase::Internal::Type::BaseModel
|
|
348
|
+
attr_accessor customer_reference_number: String?
|
|
349
|
+
|
|
350
|
+
attr_accessor destination_address: String?
|
|
351
|
+
|
|
352
|
+
attr_accessor destination_country_code: String?
|
|
353
|
+
|
|
354
|
+
attr_accessor destination_postal_code: String?
|
|
355
|
+
|
|
356
|
+
attr_accessor destination_receiver_name: String?
|
|
357
|
+
|
|
358
|
+
attr_accessor discount_amount: Integer?
|
|
359
|
+
|
|
360
|
+
attr_accessor net_amount: Integer?
|
|
361
|
+
|
|
362
|
+
attr_accessor number_of_packages: Integer?
|
|
363
|
+
|
|
364
|
+
attr_accessor origin_address: String?
|
|
365
|
+
|
|
366
|
+
attr_accessor origin_country_code: String?
|
|
367
|
+
|
|
368
|
+
attr_accessor origin_postal_code: String?
|
|
369
|
+
|
|
370
|
+
attr_accessor origin_sender_name: String?
|
|
371
|
+
|
|
372
|
+
attr_accessor pick_up_date: Date?
|
|
373
|
+
|
|
374
|
+
attr_accessor service_description: String?
|
|
375
|
+
|
|
376
|
+
attr_accessor service_level_code: String?
|
|
377
|
+
|
|
378
|
+
attr_accessor shipping_courier_name: String?
|
|
379
|
+
|
|
380
|
+
attr_accessor tax_amount: Integer?
|
|
381
|
+
|
|
382
|
+
attr_accessor tracking_number: String?
|
|
383
|
+
|
|
384
|
+
attr_accessor unit_of_measure: String?
|
|
385
|
+
|
|
386
|
+
attr_accessor weight: String?
|
|
387
|
+
|
|
388
|
+
def initialize: (
|
|
389
|
+
customer_reference_number: String?,
|
|
390
|
+
destination_address: String?,
|
|
391
|
+
destination_country_code: String?,
|
|
392
|
+
destination_postal_code: String?,
|
|
393
|
+
destination_receiver_name: String?,
|
|
394
|
+
discount_amount: Integer?,
|
|
395
|
+
net_amount: Integer?,
|
|
396
|
+
number_of_packages: Integer?,
|
|
397
|
+
origin_address: String?,
|
|
398
|
+
origin_country_code: String?,
|
|
399
|
+
origin_postal_code: String?,
|
|
400
|
+
origin_sender_name: String?,
|
|
401
|
+
pick_up_date: Date?,
|
|
402
|
+
service_description: String?,
|
|
403
|
+
service_level_code: String?,
|
|
404
|
+
shipping_courier_name: String?,
|
|
405
|
+
tax_amount: Integer?,
|
|
406
|
+
tracking_number: String?,
|
|
407
|
+
unit_of_measure: String?,
|
|
408
|
+
weight: String?
|
|
409
|
+
) -> void
|
|
410
|
+
|
|
411
|
+
def to_hash: -> {
|
|
412
|
+
customer_reference_number: String?,
|
|
413
|
+
destination_address: String?,
|
|
414
|
+
destination_country_code: String?,
|
|
415
|
+
destination_postal_code: String?,
|
|
416
|
+
destination_receiver_name: String?,
|
|
417
|
+
discount_amount: Integer?,
|
|
418
|
+
net_amount: Integer?,
|
|
419
|
+
number_of_packages: Integer?,
|
|
420
|
+
origin_address: String?,
|
|
421
|
+
origin_country_code: String?,
|
|
422
|
+
origin_postal_code: String?,
|
|
423
|
+
origin_sender_name: String?,
|
|
424
|
+
pick_up_date: Date?,
|
|
425
|
+
service_description: String?,
|
|
426
|
+
service_level_code: String?,
|
|
427
|
+
shipping_courier_name: String?,
|
|
428
|
+
tax_amount: Integer?,
|
|
429
|
+
tracking_number: String?,
|
|
430
|
+
unit_of_measure: String?,
|
|
431
|
+
weight: String?
|
|
432
|
+
}
|
|
433
|
+
end
|
|
434
|
+
|
|
318
435
|
type type_ = :card_purchase_supplement
|
|
319
436
|
|
|
320
437
|
module Type
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.332.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|