Skip to content

Commit

Permalink
Cleanup service charge model (and tag with bank)
Browse files Browse the repository at this point in the history
  • Loading branch information
astares committed Jun 26, 2023
1 parent 6b4f142 commit 030d85c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/Glorp-Unit-Tests/GlorpServiceCharge.class.st
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
"
A service charge in the Bank model
"
Class {
#name : #GlorpServiceCharge,
#superclass : #Object,
#instVars : [
'description',
'amount'
],
#category : #'Glorp-Unit-Tests-Models'
#category : #'Glorp-Unit-Tests-Models - Bank'
}

{ #category : #accessing }
Expand All @@ -18,20 +21,24 @@ GlorpServiceCharge class >> default [

{ #category : #accessing }
GlorpServiceCharge >> amount [
^amount

^ amount
]

{ #category : #accessing }
GlorpServiceCharge >> amount: anObject [

amount := anObject
]

{ #category : #accessing }
GlorpServiceCharge >> description [
^description

^ description
]

{ #category : #accessing }
GlorpServiceCharge >> description: anObject [

description := anObject
]

0 comments on commit 030d85c

Please sign in to comment.