Back

PaymentServer

Integration Diagram

%% AUTOGENERATED CODE -- DO NOT EDIT!

graph TD
    PaymentServer
 PaymentServer["PaymentServer"] --> Visa["Visa"]
 PaymentServer["PaymentServer"] --> MasterCard["MasterCard"]
 Dashboard["Dashboard"] --> PaymentServer["PaymentServer"]
 Website["Website"] --> PaymentServer["PaymentServer"]

Application Index

Application Name Method Source Location
PaymentServer Pay /github.com/anz-bank/sysl-examples/demos/sizzle_restaurant/sizzle.sysl@master

Type Index

Application Name Type Name Source Location
PaymentServer PaymentType /github.com/anz-bank/sysl-examples/demos/sizzle_restaurant/sizzle.sysl@master

Applications

Application PaymentServer

PaymentServer Pay

Sequence Diagram
%% AUTOGENERATED CODE -- DO NOT EDIT!

sequenceDiagram
 ... ->> PaymentServer: Pay
 alt processor_type == "visa"
  PaymentServer ->> Visa: Pay
  Visa ->> Visa: ...
 else if processor_type == "mastercard"
  PaymentServer ->> MasterCard: POST /pay
  MasterCard -->> PaymentServer: error
  MasterCard -->> PaymentServer: ok <: SimpleObj
 else
  PaymentServer -->> ...: 500 < NotSupportedError
 end
 PaymentServer -->> ...: 200

Request types

No Request types

Response types
%% AUTOGENERATED CODE -- DO NOT EDIT!

classDiagram

%% AUTOGENERATED CODE -- DO NOT EDIT!

classDiagram

%% AUTOGENERATED CODE -- DO NOT EDIT!

classDiagram

%% AUTOGENERATED CODE -- DO NOT EDIT!

classDiagram


Types

PaymentServer.PaymentType

PaymentServer.PaymentType

%% AUTOGENERATED CODE -- DO NOT EDIT!

classDiagram

[Full Diagram](%% AUTOGENERATED CODE -- DO NOT EDIT!

classDiagram )