syntax = "proto3";

package com.wixpress.appservice.api.upstream.com.wix.ecommerce.checkout_content_spi.v1;

import "google/api/annotations.proto";
import "wix/api/entity.proto";
import "wix/api/validations.proto";
import "wix/spi/definitions.proto";
import "google/protobuf/wrappers.proto";
import "wix/api/annotations.proto";

message CheckoutContentSPIConfig {
  option (.wix.api.decomposite_of) = "com.wix.ecommerce.checkout_content_spi.v1.CheckoutContentSPIConfig";
  // Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI.
  string deployment_uri = 1 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 1000, (.wix.spi.base_uri) = true];

  // Text to display in place of the "Continue shopping" link.
  google.protobuf.StringValue continue_shopping_link = 2 [(.wix.api.maxLength) = 30, (.wix.api.translatable) = {
    type: SHORT_TEXT
    name: "Text to display in place of the 'Continue shopping' link"
    grouping: "Checkout Content"
  }];

  // Text to display in place of the "Order summary" title.
  google.protobuf.StringValue order_summary = 3 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 30, (.wix.api.translatable) = {
    type: SHORT_TEXT
    name: "Text to display in place of the 'Order summary' title"
    grouping: "Checkout Content"
  }];

  // Text to display in place of the "Customer details" title.
  google.protobuf.StringValue customer_details = 4 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 30, (.wix.api.translatable) = {
    type: SHORT_TEXT
    name: "Text to display in place of the 'Customer details' title"
    grouping: "Checkout Content"
  }];

  // Text to display in place of the "Review and place order" title.
  google.protobuf.StringValue review_and_place_order = 5 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 50, (.wix.api.translatable) = {
    type: SHORT_TEXT
    name: "Text to display in place of the 'Review and place order' title"
    grouping: "Checkout Content"
  }];

  // Text to display in place of the "Place order" button.
  google.protobuf.StringValue place_order_button = 6 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 50, (.wix.api.translatable) = {
    type: SHORT_TEXT
    name: "Text to display in place of the 'Place order' button"
    grouping: "Checkout Content"
  }];

  // Text to display in place of the "Place order & pay" button.
  google.protobuf.StringValue place_order_pay_button = 7 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 50, (.wix.api.translatable) = {
    type: SHORT_TEXT
    name: "Text to display in place of the 'Place order & pay' button"
    grouping: "Checkout Content"
  }];
}
