Skip to content

Commit 6966aab

Browse files
committed
5976 WCPayCharge and associated CoreData Entities
1 parent 4dcd537 commit 6966aab

File tree

1 file changed

+42
-0
lines changed
  • Storage/Storage/Model/WooCommerce.xcdatamodeld/Model 64.xcdatamodel

1 file changed

+42
-0
lines changed

Storage/Storage/Model/WooCommerce.xcdatamodeld/Model 64.xcdatamodel/contents

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,44 @@
725725
<attribute name="total" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
726726
<relationship name="stats" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="TopEarnerStats" inverseName="items" inverseEntity="TopEarnerStats"/>
727727
</entity>
728+
<entity name="WCPayCardPaymentDetails" representedClassName="WCPayCardPaymentDetails" syncable="YES">
729+
<attribute name="brand" optional="YES" attributeType="String"/>
730+
<attribute name="funding" optional="YES" attributeType="String"/>
731+
<attribute name="last4" optional="YES" attributeType="String"/>
732+
<relationship name="charge" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="WCPayCharge" inverseName="cardDetails" inverseEntity="WCPayCharge"/>
733+
</entity>
734+
<entity name="WCPayCardPresentPaymentDetails" representedClassName="WCPayCardPresentPaymentDetails" syncable="YES">
735+
<attribute name="brand" attributeType="String"/>
736+
<attribute name="funding" attributeType="String"/>
737+
<attribute name="last4" attributeType="String"/>
738+
<relationship name="charge" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="WCPayCharge" inverseName="cardPresentDetails" inverseEntity="WCPayCharge"/>
739+
<relationship name="receipt" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="WCPayCardPresentReceiptDetails" inverseName="cardPresentPayment" inverseEntity="WCPayCardPresentReceiptDetails"/>
740+
</entity>
741+
<entity name="WCPayCardPresentReceiptDetails" representedClassName="WCPayCardPresentReceiptDetails" syncable="YES">
742+
<attribute name="accountType" attributeType="String"/>
743+
<attribute name="applicationPreferredName" attributeType="String"/>
744+
<attribute name="dedicatedFileName" attributeType="String"/>
745+
<relationship name="cardPresentPayment" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="WCPayCardPresentPaymentDetails" inverseName="receipt" inverseEntity="WCPayCardPresentPaymentDetails"/>
746+
</entity>
747+
<entity name="WCPayCharge" representedClassName="WCPayCharge" syncable="YES">
748+
<attribute name="amount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
749+
<attribute name="amountCaptured" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
750+
<attribute name="amountRefunded" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
751+
<attribute name="authorizationCode" optional="YES" attributeType="String"/>
752+
<attribute name="captured" attributeType="Boolean" usesScalarValueType="YES"/>
753+
<attribute name="created" attributeType="Date" usesScalarValueType="NO"/>
754+
<attribute name="currency" attributeType="String"/>
755+
<attribute name="id" attributeType="String"/>
756+
<attribute name="paid" attributeType="Boolean" usesScalarValueType="YES"/>
757+
<attribute name="paymentIntentID" optional="YES" attributeType="String"/>
758+
<attribute name="paymentMethodID" attributeType="String"/>
759+
<attribute name="paymentMethodType" attributeType="String"/>
760+
<attribute name="refunded" attributeType="Boolean" usesScalarValueType="YES"/>
761+
<attribute name="siteID" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
762+
<attribute name="status" attributeType="String"/>
763+
<relationship name="cardDetails" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="WCPayCardPaymentDetails" inverseName="charge" inverseEntity="WCPayCardPaymentDetails"/>
764+
<relationship name="cardPresentDetails" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="WCPayCardPresentPaymentDetails" inverseName="charge" inverseEntity="WCPayCardPresentPaymentDetails"/>
765+
</entity>
728766
<elements>
729767
<element name="Account" positionX="-200.9765625" positionY="63.5625" width="128" height="120"/>
730768
<element name="AccountSettings" positionX="-846" positionY="270" width="128" height="89"/>
@@ -789,5 +827,9 @@
789827
<element name="TaxClass" positionX="-529.7734375" positionY="-56.109375" width="128" height="88"/>
790828
<element name="TopEarnerStats" positionX="135.3828125" positionY="28.91015625" width="128" height="118"/>
791829
<element name="TopEarnerStatsItem" positionX="308.53125" positionY="29.1484375" width="128" height="165"/>
830+
<element name="WCPayCharge" positionX="-684" positionY="54" width="128" height="284"/>
831+
<element name="WCPayCardPaymentDetails" positionX="-675" positionY="72" width="128" height="89"/>
832+
<element name="WCPayCardPresentPaymentDetails" positionX="-666" positionY="72" width="128" height="104"/>
833+
<element name="WCPayCardPresentReceiptDetails" positionX="-657" positionY="81" width="128" height="89"/>
792834
</elements>
793835
</model>

0 commit comments

Comments
 (0)