Actions
components.payment_gateway.subcomponents.cards.business_logic.actions.card_delivery_actions ¶
CardDeliveryActions ¶
This class contains all the actions related to the delivery of a card.
create_card_order ¶
create_card_order(
session,
/,
workspace_key,
external_card_id,
delivery_status,
shipping_method,
tracking_number=None,
)
Create a card order upon reception of a card order creation event.
Source code in components/payment_gateway/subcomponents/cards/business_logic/actions/card_delivery_actions.py
declare_card_not_received ¶
Declare that a card has not been received by the card holder.
This can happen if the card has been lost or stolen during the shipment.
Source code in components/payment_gateway/subcomponents/cards/business_logic/actions/card_delivery_actions.py
declare_card_received ¶
Declare that a card has been received by the card holder.
Source code in components/payment_gateway/subcomponents/cards/business_logic/actions/card_delivery_actions.py
update_card_order ¶
update_card_order(
session,
/,
workspace_key,
external_card_id,
delivery_status,
tracking_number=None,
)
Update a card order upon reception of a card order update event.
Source code in components/payment_gateway/subcomponents/cards/business_logic/actions/card_delivery_actions.py
components.payment_gateway.subcomponents.cards.business_logic.actions.card_renewal_actions ¶
CardRenewalActions ¶
This class contains all the actions related to the renewal of a card.
renew_card ¶
Renew a card.
Renewal can be triggered by the business logic or the card holder. For example, if the card is about to expire or is declared lost, stolen or damaged.