Documentation ¶
Index ¶
- Variables
- type InvoiceServiceDiscounts
- func (*InvoiceServiceDiscounts) Descriptor() ([]byte, []int)deprecated
- func (x *InvoiceServiceDiscounts) GetCreated() string
- func (x *InvoiceServiceDiscounts) GetDescription() string
- func (x *InvoiceServiceDiscounts) GetId() string
- func (x *InvoiceServiceDiscounts) GetName() string
- func (x *InvoiceServiceDiscounts) GetSetting() *InvoiceServiceDiscountsSetting
- func (x *InvoiceServiceDiscounts) GetUpdated() string
- func (*InvoiceServiceDiscounts) ProtoMessage()
- func (x *InvoiceServiceDiscounts) ProtoReflect() protoreflect.Message
- func (x *InvoiceServiceDiscounts) Reset()
- func (x *InvoiceServiceDiscounts) String() string
- type InvoiceServiceDiscountsSetting
- func (*InvoiceServiceDiscountsSetting) Descriptor() ([]byte, []int)deprecated
- func (x *InvoiceServiceDiscountsSetting) GetAwsDetails() []*InvoiceServiceDiscountsSettingDetails
- func (x *InvoiceServiceDiscountsSetting) GetAzureDetails() []*InvoiceServiceDiscountsSettingDetails
- func (x *InvoiceServiceDiscountsSetting) GetGcpDetails() []*InvoiceServiceDiscountsSettingDetails
- func (*InvoiceServiceDiscountsSetting) ProtoMessage()
- func (x *InvoiceServiceDiscountsSetting) ProtoReflect() protoreflect.Message
- func (x *InvoiceServiceDiscountsSetting) Reset()
- func (x *InvoiceServiceDiscountsSetting) String() string
- type InvoiceServiceDiscountsSettingDetails
- func (*InvoiceServiceDiscountsSettingDetails) Descriptor() ([]byte, []int)deprecated
- func (x *InvoiceServiceDiscountsSettingDetails) GetCalculationScope() bool
- func (x *InvoiceServiceDiscountsSettingDetails) GetCode() string
- func (x *InvoiceServiceDiscountsSettingDetails) GetName() string
- func (x *InvoiceServiceDiscountsSettingDetails) GetValue() string
- func (*InvoiceServiceDiscountsSettingDetails) ProtoMessage()
- func (x *InvoiceServiceDiscountsSettingDetails) ProtoReflect() protoreflect.Message
- func (x *InvoiceServiceDiscountsSettingDetails) Reset()
- func (x *InvoiceServiceDiscountsSettingDetails) String() string
- type Service
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 (x *InvoiceServiceDiscounts) GetSetting() *InvoiceServiceDiscountsSetting
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 (x *InvoiceServiceDiscountsSetting) GetAwsDetails() []*InvoiceServiceDiscountsSettingDetails
func (*InvoiceServiceDiscountsSetting) GetAzureDetails ¶
func (x *InvoiceServiceDiscountsSetting) GetAzureDetails() []*InvoiceServiceDiscountsSettingDetails
func (*InvoiceServiceDiscountsSetting) GetGcpDetails ¶
func (x *InvoiceServiceDiscountsSetting) GetGcpDetails() []*InvoiceServiceDiscountsSettingDetails
func (*InvoiceServiceDiscountsSetting) ProtoMessage ¶
func (*InvoiceServiceDiscountsSetting) ProtoMessage()
func (*InvoiceServiceDiscountsSetting) ProtoReflect ¶
func (x *InvoiceServiceDiscountsSetting) ProtoReflect() protoreflect.Message
func (*InvoiceServiceDiscountsSetting) Reset ¶
func (x *InvoiceServiceDiscountsSetting) Reset()
func (*InvoiceServiceDiscountsSetting) String ¶
func (x *InvoiceServiceDiscountsSetting) String() 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 string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // The calculation scope. // If enabled, all Usage and 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 (x *InvoiceServiceDiscountsSettingDetails) GetCode() string
func (*InvoiceServiceDiscountsSettingDetails) GetName ¶
func (x *InvoiceServiceDiscountsSettingDetails) GetName() string
func (*InvoiceServiceDiscountsSettingDetails) GetValue ¶
func (x *InvoiceServiceDiscountsSettingDetails) GetValue() string
func (*InvoiceServiceDiscountsSettingDetails) ProtoMessage ¶
func (*InvoiceServiceDiscountsSettingDetails) ProtoMessage()
func (*InvoiceServiceDiscountsSettingDetails) ProtoReflect ¶
func (x *InvoiceServiceDiscountsSettingDetails) ProtoReflect() protoreflect.Message
func (*InvoiceServiceDiscountsSettingDetails) Reset ¶
func (x *InvoiceServiceDiscountsSettingDetails) Reset()
func (*InvoiceServiceDiscountsSettingDetails) String ¶
func (x *InvoiceServiceDiscountsSettingDetails) String() 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) GetServiceCode ¶
func (*Service) GetServiceName ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.