Documentation
¶
Index ¶
- type AdditionalInfoType
- type ChargingProfileKindEnumType
- type ChargingProfileKindEnumType_1
- type ChargingProfilePurposeEnumType
- type ChargingProfilePurposeEnumType_1
- type ChargingProfileType
- type ChargingRateUnitEnumType
- type ChargingRateUnitEnumType_1
- type ChargingSchedulePeriodType
- type ChargingScheduleType
- type ConsumptionCostType
- type CostKindEnumType
- type CostKindEnumType_1
- type CostType
- type CustomDataType
- type IdTokenEnumType
- type IdTokenEnumType_1
- type IdTokenType
- type RecurrencyKindEnumType
- type RecurrencyKindEnumType_1
- type RelativeTimeIntervalType
- type RequestStartTransactionRequestJson
- type SalesTariffEntryType
- type SalesTariffType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalInfoType ¶
type AdditionalInfoType struct { // This field specifies the additional IdToken. // AdditionalIdToken string `json:"additionalIdToken" yaml:"additionalIdToken"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // This defines the type of the additionalIdToken. This is a custom type, so the // implementation needs to be agreed upon by all involved parties. // Type string `json:"type" yaml:"type"` }
Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
func (*AdditionalInfoType) UnmarshalJSON ¶
func (j *AdditionalInfoType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ChargingProfileKindEnumType ¶
type ChargingProfileKindEnumType string
const ChargingProfileKindEnumTypeAbsolute ChargingProfileKindEnumType = "Absolute"
const ChargingProfileKindEnumTypeRecurring ChargingProfileKindEnumType = "Recurring"
const ChargingProfileKindEnumTypeRelative ChargingProfileKindEnumType = "Relative"
func (*ChargingProfileKindEnumType) UnmarshalJSON ¶
func (j *ChargingProfileKindEnumType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ChargingProfileKindEnumType_1 ¶
type ChargingProfileKindEnumType_1 string
const ChargingProfileKindEnumType_1_Absolute ChargingProfileKindEnumType_1 = "Absolute"
const ChargingProfileKindEnumType_1_Recurring ChargingProfileKindEnumType_1 = "Recurring"
const ChargingProfileKindEnumType_1_Relative ChargingProfileKindEnumType_1 = "Relative"
func (*ChargingProfileKindEnumType_1) UnmarshalJSON ¶
func (j *ChargingProfileKindEnumType_1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ChargingProfilePurposeEnumType ¶
type ChargingProfilePurposeEnumType string
const ChargingProfilePurposeEnumTypeChargingStationExternalConstraints ChargingProfilePurposeEnumType = "ChargingStationExternalConstraints"
const ChargingProfilePurposeEnumTypeChargingStationMaxProfile ChargingProfilePurposeEnumType = "ChargingStationMaxProfile"
const ChargingProfilePurposeEnumTypeTxDefaultProfile ChargingProfilePurposeEnumType = "TxDefaultProfile"
const ChargingProfilePurposeEnumTypeTxProfile ChargingProfilePurposeEnumType = "TxProfile"
func (*ChargingProfilePurposeEnumType) UnmarshalJSON ¶
func (j *ChargingProfilePurposeEnumType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ChargingProfilePurposeEnumType_1 ¶
type ChargingProfilePurposeEnumType_1 string
const ChargingProfilePurposeEnumType_1_ChargingStationExternalConstraints ChargingProfilePurposeEnumType_1 = "ChargingStationExternalConstraints"
const ChargingProfilePurposeEnumType_1_ChargingStationMaxProfile ChargingProfilePurposeEnumType_1 = "ChargingStationMaxProfile"
const ChargingProfilePurposeEnumType_1_TxDefaultProfile ChargingProfilePurposeEnumType_1 = "TxDefaultProfile"
const ChargingProfilePurposeEnumType_1_TxProfile ChargingProfilePurposeEnumType_1 = "TxProfile"
func (*ChargingProfilePurposeEnumType_1) UnmarshalJSON ¶
func (j *ChargingProfilePurposeEnumType_1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ChargingProfileType ¶
type ChargingProfileType struct { // ChargingProfileKind corresponds to the JSON schema field "chargingProfileKind". ChargingProfileKind ChargingProfileKindEnumType_1 `json:"chargingProfileKind" yaml:"chargingProfileKind"` // ChargingProfilePurpose corresponds to the JSON schema field // "chargingProfilePurpose". ChargingProfilePurpose ChargingProfilePurposeEnumType_1 `json:"chargingProfilePurpose" yaml:"chargingProfilePurpose"` // ChargingSchedule corresponds to the JSON schema field "chargingSchedule". ChargingSchedule []ChargingScheduleType `json:"chargingSchedule" yaml:"chargingSchedule"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Identified_ Object. MRID. Numeric_ Identifier // urn:x-enexis:ecdm:uid:1:569198 // Id of ChargingProfile. // Id int `json:"id" yaml:"id"` // RecurrencyKind corresponds to the JSON schema field "recurrencyKind". RecurrencyKind *RecurrencyKindEnumType `json:"recurrencyKind,omitempty" yaml:"recurrencyKind,omitempty"` // Charging_ Profile. Stack_ Level. Counter // urn:x-oca:ocpp:uid:1:569230 // Value determining level in hierarchy stack of profiles. Higher values have // precedence over lower values. Lowest level is 0. // StackLevel int `json:"stackLevel" yaml:"stackLevel"` // SHALL only be included if ChargingProfilePurpose is set to TxProfile. The // transactionId is used to match the profile to a specific transaction. // TransactionId *string `json:"transactionId,omitempty" yaml:"transactionId,omitempty"` // Charging_ Profile. Valid_ From. Date_ Time // urn:x-oca:ocpp:uid:1:569234 // Point in time at which the profile starts to be valid. If absent, the profile // is valid as soon as it is received by the Charging Station. // ValidFrom *string `json:"validFrom,omitempty" yaml:"validFrom,omitempty"` // Charging_ Profile. Valid_ To. Date_ Time // urn:x-oca:ocpp:uid:1:569235 // Point in time at which the profile stops to be valid. If absent, the profile is // valid until it is replaced by another profile. // ValidTo *string `json:"validTo,omitempty" yaml:"validTo,omitempty"` }
Charging_ Profile urn:x-oca:ocpp:uid:2:233255 A ChargingProfile consists of ChargingSchedule, describing the amount of power or current that can be delivered per time interval.
func (*ChargingProfileType) UnmarshalJSON ¶
func (j *ChargingProfileType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ChargingRateUnitEnumType ¶
type ChargingRateUnitEnumType string
const ChargingRateUnitEnumTypeA ChargingRateUnitEnumType = "A"
const ChargingRateUnitEnumTypeW ChargingRateUnitEnumType = "W"
func (*ChargingRateUnitEnumType) UnmarshalJSON ¶
func (j *ChargingRateUnitEnumType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ChargingRateUnitEnumType_1 ¶
type ChargingRateUnitEnumType_1 string
const ChargingRateUnitEnumType_1_A ChargingRateUnitEnumType_1 = "A"
const ChargingRateUnitEnumType_1_W ChargingRateUnitEnumType_1 = "W"
func (*ChargingRateUnitEnumType_1) UnmarshalJSON ¶
func (j *ChargingRateUnitEnumType_1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ChargingSchedulePeriodType ¶
type ChargingSchedulePeriodType struct { // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Charging_ Schedule_ Period. Limit. Measure // urn:x-oca:ocpp:uid:1:569241 // Charging rate limit during the schedule period, in the applicable // chargingRateUnit, for example in Amperes (A) or Watts (W). Accepts at most one // digit fraction (e.g. 8.1). // Limit float64 `json:"limit" yaml:"limit"` // Charging_ Schedule_ Period. Number_ Phases. Counter // urn:x-oca:ocpp:uid:1:569242 // The number of phases that can be used for charging. If a number of phases is // needed, numberPhases=3 will be assumed unless another number is given. // NumberPhases *int `json:"numberPhases,omitempty" yaml:"numberPhases,omitempty"` // Values: 1..3, Used if numberPhases=1 and if the EVSE is capable of switching // the phase connected to the EV, i.e. ACPhaseSwitchingSupported is defined and // true. It’s not allowed unless both conditions above are true. If both // conditions are true, and phaseToUse is omitted, the Charging Station / EVSE // will make the selection on its own. // // PhaseToUse *int `json:"phaseToUse,omitempty" yaml:"phaseToUse,omitempty"` // Charging_ Schedule_ Period. Start_ Period. Elapsed_ Time // urn:x-oca:ocpp:uid:1:569240 // Start of the period, in seconds from the start of schedule. The value of // StartPeriod also defines the stop time of the previous period. // StartPeriod int `json:"startPeriod" yaml:"startPeriod"` }
Charging_ Schedule_ Period urn:x-oca:ocpp:uid:2:233257 Charging schedule period structure defines a time period in a charging schedule.
func (*ChargingSchedulePeriodType) UnmarshalJSON ¶
func (j *ChargingSchedulePeriodType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ChargingScheduleType ¶
type ChargingScheduleType struct { // ChargingRateUnit corresponds to the JSON schema field "chargingRateUnit". ChargingRateUnit ChargingRateUnitEnumType `json:"chargingRateUnit" yaml:"chargingRateUnit"` // ChargingSchedulePeriod corresponds to the JSON schema field // "chargingSchedulePeriod". ChargingSchedulePeriod []ChargingSchedulePeriodType `json:"chargingSchedulePeriod" yaml:"chargingSchedulePeriod"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Charging_ Schedule. Duration. Elapsed_ Time // urn:x-oca:ocpp:uid:1:569236 // Duration of the charging schedule in seconds. If the duration is left empty, // the last period will continue indefinitely or until end of the transaction if // chargingProfilePurpose = TxProfile. // Duration *int `json:"duration,omitempty" yaml:"duration,omitempty"` // Identifies the ChargingSchedule. // Id int `json:"id" yaml:"id"` // Charging_ Schedule. Min_ Charging_ Rate. Numeric // urn:x-oca:ocpp:uid:1:569239 // Minimum charging rate supported by the EV. The unit of measure is defined by // the chargingRateUnit. This parameter is intended to be used by a local smart // charging algorithm to optimize the power allocation for in the case a charging // process is inefficient at lower charging rates. Accepts at most one digit // fraction (e.g. 8.1) // MinChargingRate *float64 `json:"minChargingRate,omitempty" yaml:"minChargingRate,omitempty"` // SalesTariff corresponds to the JSON schema field "salesTariff". SalesTariff *SalesTariffType `json:"salesTariff,omitempty" yaml:"salesTariff,omitempty"` // Charging_ Schedule. Start_ Schedule. Date_ Time // urn:x-oca:ocpp:uid:1:569237 // Starting point of an absolute schedule. If absent the schedule will be relative // to start of charging. // StartSchedule *string `json:"startSchedule,omitempty" yaml:"startSchedule,omitempty"` }
Charging_ Schedule urn:x-oca:ocpp:uid:2:233256 Charging schedule structure defines a list of charging periods, as used in: GetCompositeSchedule.conf and ChargingProfile.
func (*ChargingScheduleType) UnmarshalJSON ¶
func (j *ChargingScheduleType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type ConsumptionCostType ¶
type ConsumptionCostType struct { // Cost corresponds to the JSON schema field "cost". Cost []CostType `json:"cost" yaml:"cost"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Consumption_ Cost. Start_ Value. Numeric // urn:x-oca:ocpp:uid:1:569246 // The lowest level of consumption that defines the starting point of this // consumption block. The block interval extends to the start of the next // interval. // StartValue float64 `json:"startValue" yaml:"startValue"` }
Consumption_ Cost urn:x-oca:ocpp:uid:2:233259
func (*ConsumptionCostType) UnmarshalJSON ¶
func (j *ConsumptionCostType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type CostKindEnumType ¶
type CostKindEnumType string
const CostKindEnumTypeCarbonDioxideEmission CostKindEnumType = "CarbonDioxideEmission"
const CostKindEnumTypeRelativePricePercentage CostKindEnumType = "RelativePricePercentage"
const CostKindEnumTypeRenewableGenerationPercentage CostKindEnumType = "RenewableGenerationPercentage"
func (*CostKindEnumType) UnmarshalJSON ¶
func (j *CostKindEnumType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type CostKindEnumType_1 ¶
type CostKindEnumType_1 string
const CostKindEnumType_1_CarbonDioxideEmission CostKindEnumType_1 = "CarbonDioxideEmission"
const CostKindEnumType_1_RelativePricePercentage CostKindEnumType_1 = "RelativePricePercentage"
const CostKindEnumType_1_RenewableGenerationPercentage CostKindEnumType_1 = "RenewableGenerationPercentage"
func (*CostKindEnumType_1) UnmarshalJSON ¶
func (j *CostKindEnumType_1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type CostType ¶
type CostType struct { // Cost. Amount. Amount // urn:x-oca:ocpp:uid:1:569244 // The estimated or actual cost per kWh // Amount int `json:"amount" yaml:"amount"` // Cost. Amount_ Multiplier. Integer // urn:x-oca:ocpp:uid:1:569245 // Values: -3..3, The amountMultiplier defines the exponent to base 10 (dec). The // final value is determined by: amount * 10 ^ amountMultiplier // AmountMultiplier *int `json:"amountMultiplier,omitempty" yaml:"amountMultiplier,omitempty"` // CostKind corresponds to the JSON schema field "costKind". CostKind CostKindEnumType `json:"costKind" yaml:"costKind"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` }
Cost urn:x-oca:ocpp:uid:2:233258
func (*CostType) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
type CustomDataType ¶
type CustomDataType struct { // VendorId corresponds to the JSON schema field "vendorId". VendorId string `json:"vendorId" yaml:"vendorId"` }
This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
func (*CustomDataType) UnmarshalJSON ¶
func (j *CustomDataType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type IdTokenEnumType ¶
type IdTokenEnumType string
const IdTokenEnumTypeCentral IdTokenEnumType = "Central"
const IdTokenEnumTypeEMAID IdTokenEnumType = "eMAID"
const IdTokenEnumTypeISO14443 IdTokenEnumType = "ISO14443"
const IdTokenEnumTypeISO15693 IdTokenEnumType = "ISO15693"
const IdTokenEnumTypeKeyCode IdTokenEnumType = "KeyCode"
const IdTokenEnumTypeLocal IdTokenEnumType = "Local"
const IdTokenEnumTypeMacAddress IdTokenEnumType = "MacAddress"
const IdTokenEnumTypeNoAuthorization IdTokenEnumType = "NoAuthorization"
func (*IdTokenEnumType) UnmarshalJSON ¶
func (j *IdTokenEnumType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type IdTokenEnumType_1 ¶
type IdTokenEnumType_1 string
const IdTokenEnumType_1_Central IdTokenEnumType_1 = "Central"
const IdTokenEnumType_1_EMAID IdTokenEnumType_1 = "eMAID"
const IdTokenEnumType_1_ISO14443 IdTokenEnumType_1 = "ISO14443"
const IdTokenEnumType_1_ISO15693 IdTokenEnumType_1 = "ISO15693"
const IdTokenEnumType_1_KeyCode IdTokenEnumType_1 = "KeyCode"
const IdTokenEnumType_1_Local IdTokenEnumType_1 = "Local"
const IdTokenEnumType_1_MacAddress IdTokenEnumType_1 = "MacAddress"
const IdTokenEnumType_1_NoAuthorization IdTokenEnumType_1 = "NoAuthorization"
func (*IdTokenEnumType_1) UnmarshalJSON ¶
func (j *IdTokenEnumType_1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type IdTokenType ¶
type IdTokenType struct { // AdditionalInfo corresponds to the JSON schema field "additionalInfo". AdditionalInfo []AdditionalInfoType `json:"additionalInfo,omitempty" yaml:"additionalInfo,omitempty"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can // for example also contain a UUID. // IdToken string `json:"idToken" yaml:"idToken"` // Type corresponds to the JSON schema field "type". Type IdTokenEnumType_1 `json:"type" yaml:"type"` }
Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
func (*IdTokenType) UnmarshalJSON ¶
func (j *IdTokenType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type RecurrencyKindEnumType ¶
type RecurrencyKindEnumType string
const RecurrencyKindEnumTypeDaily RecurrencyKindEnumType = "Daily"
const RecurrencyKindEnumTypeWeekly RecurrencyKindEnumType = "Weekly"
func (*RecurrencyKindEnumType) UnmarshalJSON ¶
func (j *RecurrencyKindEnumType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type RecurrencyKindEnumType_1 ¶
type RecurrencyKindEnumType_1 string
const RecurrencyKindEnumType_1_Daily RecurrencyKindEnumType_1 = "Daily"
const RecurrencyKindEnumType_1_Weekly RecurrencyKindEnumType_1 = "Weekly"
func (*RecurrencyKindEnumType_1) UnmarshalJSON ¶
func (j *RecurrencyKindEnumType_1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type RelativeTimeIntervalType ¶
type RelativeTimeIntervalType struct { // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Relative_ Timer_ Interval. Duration. Elapsed_ Time // urn:x-oca:ocpp:uid:1:569280 // Duration of the interval, in seconds. // Duration *int `json:"duration,omitempty" yaml:"duration,omitempty"` // Relative_ Timer_ Interval. Start. Elapsed_ Time // urn:x-oca:ocpp:uid:1:569279 // Start of the interval, in seconds from NOW. // Start int `json:"start" yaml:"start"` }
Relative_ Timer_ Interval urn:x-oca:ocpp:uid:2:233270
func (*RelativeTimeIntervalType) UnmarshalJSON ¶
func (j *RelativeTimeIntervalType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type RequestStartTransactionRequestJson ¶
type RequestStartTransactionRequestJson struct { // ChargingProfile corresponds to the JSON schema field "chargingProfile". ChargingProfile *ChargingProfileType `json:"chargingProfile,omitempty" yaml:"chargingProfile,omitempty"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Number of the EVSE on which to start the transaction. EvseId SHALL be > 0 // EvseId *int `json:"evseId,omitempty" yaml:"evseId,omitempty"` // GroupIdToken corresponds to the JSON schema field "groupIdToken". GroupIdToken *IdTokenType `json:"groupIdToken,omitempty" yaml:"groupIdToken,omitempty"` // IdToken corresponds to the JSON schema field "idToken". IdToken IdTokenType `json:"idToken" yaml:"idToken"` // Id given by the server to this start request. The Charging Station might return // this in the <<transactioneventrequest, TransactionEventRequest>>, // letting the server know which transaction was started for this request. Use to // start a transaction. // RemoteStartId int `json:"remoteStartId" yaml:"remoteStartId"` }
func (*RequestStartTransactionRequestJson) UnmarshalJSON ¶
func (j *RequestStartTransactionRequestJson) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type SalesTariffEntryType ¶
type SalesTariffEntryType struct { // ConsumptionCost corresponds to the JSON schema field "consumptionCost". ConsumptionCost []ConsumptionCostType `json:"consumptionCost,omitempty" yaml:"consumptionCost,omitempty"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Sales_ Tariff_ Entry. E_ Price_ Level. Unsigned_ Integer // urn:x-oca:ocpp:uid:1:569281 // Defines the price level of this SalesTariffEntry (referring to // NumEPriceLevels). Small values for the EPriceLevel represent a cheaper // TariffEntry. Large values for the EPriceLevel represent a more expensive // TariffEntry. // EPriceLevel *int `json:"ePriceLevel,omitempty" yaml:"ePriceLevel,omitempty"` // RelativeTimeInterval corresponds to the JSON schema field // "relativeTimeInterval". RelativeTimeInterval RelativeTimeIntervalType `json:"relativeTimeInterval" yaml:"relativeTimeInterval"` }
Sales_ Tariff_ Entry urn:x-oca:ocpp:uid:2:233271
func (*SalesTariffEntryType) UnmarshalJSON ¶
func (j *SalesTariffEntryType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type SalesTariffType ¶
type SalesTariffType struct { // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Identified_ Object. MRID. Numeric_ Identifier // urn:x-enexis:ecdm:uid:1:569198 // SalesTariff identifier used to identify one sales tariff. An SAID remains a // unique identifier for one schedule throughout a charging session. // Id int `json:"id" yaml:"id"` // Sales_ Tariff. Num_ E_ Price_ Levels. Counter // urn:x-oca:ocpp:uid:1:569284 // Defines the overall number of distinct price levels used across all provided // SalesTariff elements. // NumEPriceLevels *int `json:"numEPriceLevels,omitempty" yaml:"numEPriceLevels,omitempty"` // Sales_ Tariff. Sales. Tariff_ Description // urn:x-oca:ocpp:uid:1:569283 // A human readable title/short description of the sales tariff e.g. for HMI // display purposes. // SalesTariffDescription *string `json:"salesTariffDescription,omitempty" yaml:"salesTariffDescription,omitempty"` // SalesTariffEntry corresponds to the JSON schema field "salesTariffEntry". SalesTariffEntry []SalesTariffEntryType `json:"salesTariffEntry" yaml:"salesTariffEntry"` }
Sales_ Tariff urn:x-oca:ocpp:uid:2:233272 NOTE: This dataType is based on dataTypes from <<ref-ISOIEC15118-2,ISO 15118-2>>.
func (*SalesTariffType) UnmarshalJSON ¶
func (j *SalesTariffType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.