import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class ShippingRate extends pulumi.CustomResource { /** * Get an existing ShippingRate resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ShippingRateState, opts?: pulumi.CustomResourceOptions): ShippingRate; /** * Returns true if the given object is an instance of ShippingRate. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ShippingRate; /** * Whether the shipping rate can be used for new purchases. Defaults to true. */ readonly active: pulumi.Output; readonly deliveryEstimates: pulumi.Output; /** * The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions. */ readonly displayName: pulumi.Output; /** * Describes a fixed amount to charge for shipping. Must be present for now. */ readonly fixedAmount: pulumi.Output; /** * Has the value true if the object exists in live mode or the value false if the object exists in test mode. */ readonly livemode: pulumi.Output; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ readonly metadata: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or * unspecified. */ readonly taxBehavior: pulumi.Output; /** * A tax code ID. The Shipping tax code is txcd_92010001. */ readonly taxCode: pulumi.Output; /** * The type of calculation to use on the shipping rate. Can only be fixedAmount for now */ readonly type: pulumi.Output; /** * Create a ShippingRate resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ShippingRateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ShippingRate resources. */ export interface ShippingRateState { /** * Whether the shipping rate can be used for new purchases. Defaults to true. */ active?: pulumi.Input; deliveryEstimates?: pulumi.Input[]>; /** * The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions. */ displayName?: pulumi.Input; /** * Describes a fixed amount to charge for shipping. Must be present for now. */ fixedAmount?: pulumi.Input; /** * Has the value true if the object exists in live mode or the value false if the object exists in test mode. */ livemode?: pulumi.Input; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or * unspecified. */ taxBehavior?: pulumi.Input; /** * A tax code ID. The Shipping tax code is txcd_92010001. */ taxCode?: pulumi.Input; /** * The type of calculation to use on the shipping rate. Can only be fixedAmount for now */ type?: pulumi.Input; } /** * The set of arguments for constructing a ShippingRate resource. */ export interface ShippingRateArgs { /** * Whether the shipping rate can be used for new purchases. Defaults to true. */ active?: pulumi.Input; deliveryEstimates?: pulumi.Input[]>; /** * The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions. */ displayName: pulumi.Input; /** * Describes a fixed amount to charge for shipping. Must be present for now. */ fixedAmount: pulumi.Input; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or * unspecified. */ taxBehavior?: pulumi.Input; /** * A tax code ID. The Shipping tax code is txcd_92010001. */ taxCode?: pulumi.Input; /** * The type of calculation to use on the shipping rate. Can only be fixedAmount for now */ type?: pulumi.Input; }