S++Business systems language
DEMO SOURCE · SPP / APP / PHYRead the book

petshop-10-services.spp

petshop/payment/petshop-10-services.spp

Download original file · Petstore source contents

1domain petshop;23quantum update payOrderFunds(Buyer, Merchant, PaymentAgreement) {4    Buyer.wallet -= PaymentAgreement.paymentAmount;5    Merchant.cash += PaymentAgreement.paymentAmount;6}