Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

@dataclass(kw_only=True)
class PaymentProduct840SpecificOutput:
payPalTransactionId: str
billingAddress: Optional[Address] = None
customerAccount: Optional[PaymentProduct840CustomerAccount] = None
shippingAddress: Optional[Address] = None
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,25 @@

@dataclass(kw_only=True)
class RedirectPaymentProduct840SpecificInput:
"""Object containing specific input required for PayPal payments (Payment product ID 840)"""
"""
Object containing specific input required for PayPal payments
(Payment product ID 840)
"""

addressSelectionAtPayPal: Optional[bool] = False
fraudNetId: Optional[str] = (
None # A unique ID determined by the merchant, to link a Paypal transaction to a FraudNet PayPal risk session. Only applicable to customer-initiated transactions, when the FraudNet SDK is used, and to be passed in the API request the same tracking ID value (FraudNet Session Identifier).
None # A unique ID determined by the merchant, to link a Paypal transaction
# to a FraudNet PayPal risk session. Only applicable to customer-initiated
# transactions, when the FraudNet SDK is used, and to be passed in the API
# request the same tracking ID value (FraudNet Session Identifier).
)
javaScriptSdkFlow: bool = (
True # Required parameter which defines how PayPal is being integrated
# inside the checkout page. True = the current integration uses PayPal SDK,
# False = classic usage with PayPal Redirect flow
)
action: Optional[str] = (
None # Required parameter for a COMPLETE CALL (not only an ORDER CALL)
# which one value "CONFIRM_ORDER_STATUS" signals process is finished
# on merchant side
)
Loading