v1

package
v0.72.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_ripple_v1_invoiceservicediscounts_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type InvoiceServiceDiscounts

type InvoiceServiceDiscounts struct {

	// The invoice service discounts id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The invoice service discount name.
	// must be 1-60 characters long.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The invoice service discount description.
	// Maximum 150 characters long.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The invoice service discount setting.
	Setting *InvoiceServiceDiscountsSetting `protobuf:"bytes,4,opt,name=setting,proto3" json:"setting,omitempty"`
	// Timestamp associated with the created.
	Created string `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
	// Timestamp associated with the updated.
	Updated string `protobuf:"bytes,6,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

InvoiceServiceDiscounts resource definition.

func (*InvoiceServiceDiscounts) Descriptor deprecated

func (*InvoiceServiceDiscounts) Descriptor() ([]byte, []int)

Deprecated: Use InvoiceServiceDiscounts.ProtoReflect.Descriptor instead.

func (*InvoiceServiceDiscounts) GetCreated

func (x *InvoiceServiceDiscounts) GetCreated() string

func (*InvoiceServiceDiscounts) GetDescription

func (x *InvoiceServiceDiscounts) GetDescription() string

func (*InvoiceServiceDiscounts) GetId

func (x *InvoiceServiceDiscounts) GetId() string

func (*InvoiceServiceDiscounts) GetName

func (x *InvoiceServiceDiscounts) GetName() string

func (*InvoiceServiceDiscounts) GetSetting

func (*InvoiceServiceDiscounts) GetUpdated

func (x *InvoiceServiceDiscounts) GetUpdated() string

func (*InvoiceServiceDiscounts) ProtoMessage

func (*InvoiceServiceDiscounts) ProtoMessage()

func (*InvoiceServiceDiscounts) ProtoReflect

func (x *InvoiceServiceDiscounts) ProtoReflect() protoreflect.Message

func (*InvoiceServiceDiscounts) Reset

func (x *InvoiceServiceDiscounts) Reset()

func (*InvoiceServiceDiscounts) String

func (x *InvoiceServiceDiscounts) String() string

type InvoiceServiceDiscountsSetting

type InvoiceServiceDiscountsSetting struct {

	// The invoice service discounts setting details.
	AwsDetails []*InvoiceServiceDiscountsSettingDetails `protobuf:"bytes,1,rep,name=awsDetails,proto3" json:"awsDetails,omitempty"`
	// The invoice service discounts setting details.
	AzureDetails []*InvoiceServiceDiscountsSettingDetails `protobuf:"bytes,2,rep,name=azureDetails,proto3" json:"azureDetails,omitempty"`
	// The invoice service discounts setting details.
	GcpDetails []*InvoiceServiceDiscountsSettingDetails `protobuf:"bytes,3,rep,name=gcpDetails,proto3" json:"gcpDetails,omitempty"`
	// contains filtered or unexported fields
}

InvoiceServiceDiscountsSetting resource definition.

func (*InvoiceServiceDiscountsSetting) Descriptor deprecated

func (*InvoiceServiceDiscountsSetting) Descriptor() ([]byte, []int)

Deprecated: Use InvoiceServiceDiscountsSetting.ProtoReflect.Descriptor instead.

func (*InvoiceServiceDiscountsSetting) GetAwsDetails

func (*InvoiceServiceDiscountsSetting) GetAzureDetails

func (*InvoiceServiceDiscountsSetting) GetGcpDetails

func (*InvoiceServiceDiscountsSetting) ProtoMessage

func (*InvoiceServiceDiscountsSetting) ProtoMessage()

func (*InvoiceServiceDiscountsSetting) ProtoReflect

func (*InvoiceServiceDiscountsSetting) Reset

func (x *InvoiceServiceDiscountsSetting) Reset()

func (*InvoiceServiceDiscountsSetting) String

type InvoiceServiceDiscountsSettingDetails

type InvoiceServiceDiscountsSettingDetails struct {

	// The vendor service code.
	// aws: ProductCode
	// azure: ServiceCode
	// gcp: ServiceName
	// `otherServices`: The code to specify other services as a whole, regardless of vendor.
	// For exmaple: Other services set at 1%.
	// {"code":"otherServices", "value":0.01}
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// The vendor service name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Value associated with the set premiums or discounts.
	Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
	// The calculation scope.
	// default is `disabled`.
	// If enabled, Usage and any lineitem type including Fee are included in the calculation.
	// If disabled, only the Usage is included in the calculation.
	CalculationScope bool `protobuf:"varint,4,opt,name=calculationScope,proto3" json:"calculationScope,omitempty"`
	// contains filtered or unexported fields
}

InvoiceServiceDiscountsSettingDetails resource definition.

func (*InvoiceServiceDiscountsSettingDetails) Descriptor deprecated

func (*InvoiceServiceDiscountsSettingDetails) Descriptor() ([]byte, []int)

Deprecated: Use InvoiceServiceDiscountsSettingDetails.ProtoReflect.Descriptor instead.

func (*InvoiceServiceDiscountsSettingDetails) GetCalculationScope

func (x *InvoiceServiceDiscountsSettingDetails) GetCalculationScope() bool

func (*InvoiceServiceDiscountsSettingDetails) GetCode

func (*InvoiceServiceDiscountsSettingDetails) GetName

func (*InvoiceServiceDiscountsSettingDetails) GetValue

func (*InvoiceServiceDiscountsSettingDetails) ProtoMessage

func (*InvoiceServiceDiscountsSettingDetails) ProtoMessage()

func (*InvoiceServiceDiscountsSettingDetails) ProtoReflect

func (*InvoiceServiceDiscountsSettingDetails) Reset

func (*InvoiceServiceDiscountsSettingDetails) String

type Service

type Service struct {

	// The service code.
	ServiceCode string `protobuf:"bytes,1,opt,name=serviceCode,proto3" json:"serviceCode,omitempty"`
	// The service name.
	ServiceName string `protobuf:"bytes,2,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
	// contains filtered or unexported fields
}

Service resource definition. Services of each vendor available for Service Discounts.

func (*Service) Descriptor deprecated

func (*Service) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetServiceCode

func (x *Service) GetServiceCode() string

func (*Service) GetServiceName

func (x *Service) GetServiceName() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

func (x *Service) ProtoReflect() protoreflect.Message

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL