syntax = "proto3";

package com.wixpress.appservice.api.upstream.wix.pricing_plans.spi.fees_spi.v1;

import "wix/spi/definitions.proto";
import "wix/api/validations.proto";
import "wix/api/annotations.proto";
import "wix/common/spi.proto";

// Config for the Fees SPI
message FeesSPIConfig {
    option (.wix.api.decomposite_of) = "wix.pricing_plans.spi.fees_spi.v1.FeesSPIConfig";
    // Pricing plan for which the SPI method should optionally apply
    string plan_id = 1 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.pricing_plans.v3.plan"];
    // Required. Base URI where the endpoints are called. Wix appends the endpoint path to the base URI.
    .wix.common.spi.SpiBaseUri uri_config = 2;
}
