syntax = "proto3";

package com.wixpress.appservice.api;

import "google/protobuf/wrappers.proto";
import "wix/api/validations.proto";
import "components_catalog_common.proto";

// represents Invoices integration policies
message InvoicesActionsComponentData {
    // partial payment restriction on invoice
    PartialPaymentRestriction partial_payment = 1;
}

//Possible Partial Payment Policy Values
enum PartialPaymentRestriction {
    UNDEFINED = 0;
    ALLOW = 1; // Allow Partial Payment
    DISALLOW = 2; // Disallow Partial Payment
}