pen-solid
Visual Studio Code + Bazel
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Transfer Object

classDiagram


class SimpleResponse {
  +TimeStamp Ts
  +int ResponseCode
  +string ErrorMessage
}

class SearchType {
<< enumeration >>
  CONTAINS
  BEGINS_WITH
  ENDS_WITH
}

class OneOf {
  << interface >>
}

CustomerSearchPredicate ..|> OneOf

class CustomerSearchPredicate {
  +string id
  +string name
}

class CustomerSearch {
  +SearchType type
  +CustomerSearchPredicate search
}

CustomerSearch --|> SearchType
CustomerSearch --* CustomerSearchPredicate

ItemSearchPredicate ..|> OneOf
class ItemSearchPredicate {
  +string sku
  +string name
}


class ItemSearch {
  +SearchType type
  +ItemSearchPredicate search
}
ItemSearch --* ItemSearchPredicate

class IdRequest {
  +string Id
}

class TransactionRequest {
  +string TransactionId;
}


class TransactionResponse {
  +string TransactionId
  +Transaction State
}
TransactionResponse --> Transaction


class TransactionCustomerRequest {
  +string TransactionId
  +Customer Customer
}
TransactionCustomerRequest --> Customer

class TransactionLineItemRequest {
  +string TransactionId
  +LineItem LineItem
}
TransactionLineItemRequest --> LineItem