Skip to content
Merged
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
12 changes: 12 additions & 0 deletions checkout_sdk/payments/payments.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,9 +464,21 @@ class ProcessingSettings:
surcharge_amount: int
pan_preference: PanPreference
provision_network_token: bool
affiliate_id: str
affiliate_url: str


class ProductSubType (str, Enum):
BLOCKCHAIN = 'BLOCKCHAIN'
CBDC = 'CBDC'
CRYPTOCURRENCY = 'CRYPTOCURRENCY'
NFT = 'NFT'
STABLECOIN = 'STABLECOIN'


class Product:
type: str
sub_type: list # ProductSubType
name: str
quantity: int
unit_price: int
Expand Down