Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
import {StripeElementBase, StripeElementStyle} from '../base';
|
|
|
|
export type StripeIssuingCardNumberDisplayElement = StripeElementBase & {
|
|
/**
|
|
* Updates the options the `IssuingCardNumberDisplayElement` was initialized with.
|
|
* Updates are merged into the existing configuration.
|
|
*
|
|
* The styles of an `IssuingCardNumberDisplayElement` can be dynamically changed using `element.update`.
|
|
* This method can be used to simulate CSS media queries that automatically adjust the size of elements when viewed on different devices.
|
|
*/
|
|
update(options: Partial<StripeIssuingCardNumberDisplayElementOptions>): void;
|
|
|
|
/**
|
|
* Triggered when the element is fully rendered and can accept `element.focus` calls.
|
|
*/
|
|
on(
|
|
eventType: 'ready',
|
|
handler: (event: {elementType: 'issuingCardNumberDisplay'}) => any
|
|
): StripeIssuingCardNumberDisplayElement;
|
|
};
|
|
|
|
export interface StripeIssuingCardNumberDisplayElementOptions {
|
|
/**
|
|
* The token (e.g. `ic_abc123`) of the issued card to display in this Element
|
|
*/
|
|
issuingCard: string;
|
|
|
|
/**
|
|
* The secret component of the ephemeral key with which to authenticate this sensitive
|
|
* card details request
|
|
*/
|
|
ephemeralKeySecret?: string;
|
|
|
|
/**
|
|
* The nonce used to mint the ephemeral key provided in `ephemeralKeySecret`
|
|
*/
|
|
nonce?: string;
|
|
|
|
style?: StripeElementStyle;
|
|
}
|