address_dto

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	FirstLine  string  `json:"first_line,omitempty"`
	SecondLine string  `json:"second_line,omitempty"`
	ThirdLine  string  `json:"third_line,omitempty"`
	Town       string  `json:"town,omitempty"`
	PostCode   string  `json:"post_code,omitempty"`
	County     string  `json:"county,omitempty"`
	State      string  `json:"state,omitempty"`
	Country    string  `json:"country,omitempty"`
	Latitude   float64 `json:"latitude"`
	Longitude  float64 `json:"longitude"`
}

func (*Address) Trim added in v1.5.11

func (address *Address) Trim()

func (*Address) Validate added in v1.5.63

func (address *Address) Validate() *rest_errors.RestErr

Jump to

Keyboard shortcuts

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