Interface: PaymentInstrumentSectionProps
Properties
ariaLabel?
optionalariaLabel?:string
Optional ARIA label for the radiogroup. Defaults to nothing (caller's responsibility — the section is typically nested in a wider label structure).
iconClassName?
optionaliconClassName?:string
Optional class for the brand image inside tiles — passed as iconClassName.
labelClassName?
optionallabelClassName?:string
Optional class for the label span inside tiles — passed as labelClassName.
method
method:
PaymentInstrumentSectionMethod
Payment method with an instruments[] list (null/empty → the component returns null).
onSelectInstrument
onSelectInstrument: (
instrumentCode) =>void
Callback fired when the buyer selects an instrument. The parent persists the state + calls cartSelectPaymentMethod.
Parameters
instrumentCode
string
Returns
void
sectionClassName?
optionalsectionClassName?:string
Optional class for the outer section element — typically grid/flex layout.
selectedInstrumentCode?
optionalselectedInstrumentCode?:string
Currently selected instrument code — controlled by parent. Undefined when the buyer has not picked one yet.
tileClassName?
optionaltileClassName?:string
Optional class for each <PaymentInstrumentTile> — passed as className.