Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions generated_lib/checkout/v40/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V40.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V40.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V40.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V40.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v41/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V41.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V41.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V41.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V41.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v46/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V46.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V46.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V46.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V46.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v49/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V49.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V49.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V49.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V49.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v50/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V50.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V50.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V50.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V50.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v51/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V51.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V51.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V51.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V51.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v52/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V52.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V52.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V52.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V52.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v53/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V53.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V53.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V53.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V53.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v64/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V64.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V64.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V64.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V64.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v65/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V65.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V65.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V65.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V65.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
15 changes: 12 additions & 3 deletions generated_lib/checkout/v66/checkout_forward_request_options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ defmodule Adyen.Checkout.V66.CheckoutForwardRequestOptions do
dryRun: boolean | nil,
networkToken: Adyen.Checkout.V66.CheckoutNetworkTokenOption.t() | nil,
networkTxReferencePaths: [String.t()] | nil,
tokenize: boolean | nil
tokenize: boolean | nil,
transactionLinkIdPaths: [String.t()] | nil
}

defstruct [:accountUpdate, :dryRun, :networkToken, :networkTxReferencePaths, :tokenize]
defstruct [
:accountUpdate,
:dryRun,
:networkToken,
:networkTxReferencePaths,
:tokenize,
:transactionLinkIdPaths
]

@doc false
@spec __fields__(atom) :: keyword
Expand All @@ -23,7 +31,8 @@ defmodule Adyen.Checkout.V66.CheckoutForwardRequestOptions do
dryRun: :boolean,
networkToken: {Adyen.Checkout.V66.CheckoutNetworkTokenOption, :t},
networkTxReferencePaths: [:string],
tokenize: :boolean
tokenize: :boolean,
transactionLinkIdPaths: [:string]
]
end
end
3 changes: 3 additions & 0 deletions generated_lib/checkout/v67/ach_details.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ defmodule Adyen.Checkout.V67.AchDetails do
encryptedBankLocationId: String.t() | nil,
ownerName: String.t() | nil,
recurringDetailReference: String.t() | nil,
sdkData: String.t() | nil,
storedPaymentMethodId: String.t() | nil,
transferInstrumentId: String.t() | nil,
type: String.t() | nil
Expand All @@ -28,6 +29,7 @@ defmodule Adyen.Checkout.V67.AchDetails do
:encryptedBankLocationId,
:ownerName,
:recurringDetailReference,
:sdkData,
:storedPaymentMethodId,
:transferInstrumentId,
:type
Expand All @@ -49,6 +51,7 @@ defmodule Adyen.Checkout.V67.AchDetails do
encryptedBankLocationId: :string,
ownerName: :string,
recurringDetailReference: :string,
sdkData: :string,
storedPaymentMethodId: :string,
transferInstrumentId: :string,
type: {:enum, ["ach", "ach_plaid"]}
Expand Down
10 changes: 7 additions & 3 deletions generated_lib/checkout/v67/affirm_details.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@ defmodule Adyen.Checkout.V67.AffirmDetails do
Provides struct and type for a AffirmDetails
"""

@type t :: %__MODULE__{checkoutAttemptId: String.t() | nil, type: String.t() | nil}
@type t :: %__MODULE__{
checkoutAttemptId: String.t() | nil,
sdkData: String.t() | nil,
type: String.t() | nil
}

defstruct [:checkoutAttemptId, :type]
defstruct [:checkoutAttemptId, :sdkData, :type]

@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)

def __fields__(:t) do
[checkoutAttemptId: :string, type: {:const, "affirm"}]
[checkoutAttemptId: :string, sdkData: :string, type: {:const, "affirm"}]
end
end
Loading