Przejdź do głównej zawartości

Type Alias: PaymentInstrumentTileInstrument

PaymentInstrumentTileInstrument = Pick<PaymentInstrument, "code" | "displayName" | "displayHint" | "enabled"> & Partial<Pick<PaymentInstrument, "brandImage">>

Minimal projection of PaymentInstrument used by the tile. The caller may pass a full instrument from the availablePaymentMethods query — extra fields (provider, type) are ignored by the component (the UI never branches on the provider — gateway-agnostic, code + displayHint are enough).